Interface UpdateDomainRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateDomainRequest.Builder,UpdateDomainRequest>
,SageMakerRequest.Builder
,SdkBuilder<UpdateDomainRequest.Builder,UpdateDomainRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- UpdateDomainRequest
public static interface UpdateDomainRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<UpdateDomainRequest.Builder,UpdateDomainRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateDomainRequest.Builder
appNetworkAccessType(String appNetworkAccessType)
Specifies the VPC used for non-EFS traffic.UpdateDomainRequest.Builder
appNetworkAccessType(AppNetworkAccessType appNetworkAccessType)
Specifies the VPC used for non-EFS traffic.UpdateDomainRequest.Builder
appSecurityGroupManagement(String appSecurityGroupManagement)
The entity that creates and manages the required security groups for inter-app communication inVPCOnly
mode.UpdateDomainRequest.Builder
appSecurityGroupManagement(AppSecurityGroupManagement appSecurityGroupManagement)
The entity that creates and manages the required security groups for inter-app communication inVPCOnly
mode.default UpdateDomainRequest.Builder
defaultSpaceSettings(Consumer<DefaultSpaceSettings.Builder> defaultSpaceSettings)
The default settings used to create a space within the domain.UpdateDomainRequest.Builder
defaultSpaceSettings(DefaultSpaceSettings defaultSpaceSettings)
The default settings used to create a space within the domain.default UpdateDomainRequest.Builder
defaultUserSettings(Consumer<UserSettings.Builder> defaultUserSettings)
A collection of settings.UpdateDomainRequest.Builder
defaultUserSettings(UserSettings defaultUserSettings)
A collection of settings.UpdateDomainRequest.Builder
domainId(String domainId)
The ID of the domain to be updated.default UpdateDomainRequest.Builder
domainSettingsForUpdate(Consumer<DomainSettingsForUpdate.Builder> domainSettingsForUpdate)
A collection ofDomainSettings
configuration values to update.UpdateDomainRequest.Builder
domainSettingsForUpdate(DomainSettingsForUpdate domainSettingsForUpdate)
A collection ofDomainSettings
configuration values to update.UpdateDomainRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
UpdateDomainRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
UpdateDomainRequest.Builder
subnetIds(String... subnetIds)
The VPC subnets that Studio uses for communication.UpdateDomainRequest.Builder
subnetIds(Collection<String> subnetIds)
The VPC subnets that Studio uses for communication.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
domainId
UpdateDomainRequest.Builder domainId(String domainId)
The ID of the domain to be updated.
- Parameters:
domainId
- The ID of the domain to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultUserSettings
UpdateDomainRequest.Builder defaultUserSettings(UserSettings defaultUserSettings)
A collection of settings.
- Parameters:
defaultUserSettings
- A collection of settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultUserSettings
default UpdateDomainRequest.Builder defaultUserSettings(Consumer<UserSettings.Builder> defaultUserSettings)
A collection of settings.
This is a convenience method that creates an instance of theUserSettings.Builder
avoiding the need to create one manually viaUserSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todefaultUserSettings(UserSettings)
.- Parameters:
defaultUserSettings
- a consumer that will call methods onUserSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
defaultUserSettings(UserSettings)
-
domainSettingsForUpdate
UpdateDomainRequest.Builder domainSettingsForUpdate(DomainSettingsForUpdate domainSettingsForUpdate)
A collection of
DomainSettings
configuration values to update.- Parameters:
domainSettingsForUpdate
- A collection ofDomainSettings
configuration values to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainSettingsForUpdate
default UpdateDomainRequest.Builder domainSettingsForUpdate(Consumer<DomainSettingsForUpdate.Builder> domainSettingsForUpdate)
A collection of
This is a convenience method that creates an instance of theDomainSettings
configuration values to update.DomainSettingsForUpdate.Builder
avoiding the need to create one manually viaDomainSettingsForUpdate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todomainSettingsForUpdate(DomainSettingsForUpdate)
.- Parameters:
domainSettingsForUpdate
- a consumer that will call methods onDomainSettingsForUpdate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
domainSettingsForUpdate(DomainSettingsForUpdate)
-
appSecurityGroupManagement
UpdateDomainRequest.Builder appSecurityGroupManagement(String appSecurityGroupManagement)
The entity that creates and manages the required security groups for inter-app communication in
VPCOnly
mode. Required whenCreateDomain.AppNetworkAccessType
isVPCOnly
andDomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn
is provided. If setting up the domain for use with RStudio, this value must be set toService
.- Parameters:
appSecurityGroupManagement
- The entity that creates and manages the required security groups for inter-app communication inVPCOnly
mode. Required whenCreateDomain.AppNetworkAccessType
isVPCOnly
andDomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn
is provided. If setting up the domain for use with RStudio, this value must be set toService
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AppSecurityGroupManagement
,AppSecurityGroupManagement
-
appSecurityGroupManagement
UpdateDomainRequest.Builder appSecurityGroupManagement(AppSecurityGroupManagement appSecurityGroupManagement)
The entity that creates and manages the required security groups for inter-app communication in
VPCOnly
mode. Required whenCreateDomain.AppNetworkAccessType
isVPCOnly
andDomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn
is provided. If setting up the domain for use with RStudio, this value must be set toService
.- Parameters:
appSecurityGroupManagement
- The entity that creates and manages the required security groups for inter-app communication inVPCOnly
mode. Required whenCreateDomain.AppNetworkAccessType
isVPCOnly
andDomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn
is provided. If setting up the domain for use with RStudio, this value must be set toService
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AppSecurityGroupManagement
,AppSecurityGroupManagement
-
defaultSpaceSettings
UpdateDomainRequest.Builder defaultSpaceSettings(DefaultSpaceSettings defaultSpaceSettings)
The default settings used to create a space within the domain.
- Parameters:
defaultSpaceSettings
- The default settings used to create a space within the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultSpaceSettings
default UpdateDomainRequest.Builder defaultSpaceSettings(Consumer<DefaultSpaceSettings.Builder> defaultSpaceSettings)
The default settings used to create a space within the domain.
This is a convenience method that creates an instance of theDefaultSpaceSettings.Builder
avoiding the need to create one manually viaDefaultSpaceSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todefaultSpaceSettings(DefaultSpaceSettings)
.- Parameters:
defaultSpaceSettings
- a consumer that will call methods onDefaultSpaceSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
defaultSpaceSettings(DefaultSpaceSettings)
-
subnetIds
UpdateDomainRequest.Builder subnetIds(Collection<String> subnetIds)
The VPC subnets that Studio uses for communication.
If removing subnets, ensure there are no apps in the
InService
,Pending
, orDeleting
state.- Parameters:
subnetIds
- The VPC subnets that Studio uses for communication.If removing subnets, ensure there are no apps in the
InService
,Pending
, orDeleting
state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetIds
UpdateDomainRequest.Builder subnetIds(String... subnetIds)
The VPC subnets that Studio uses for communication.
If removing subnets, ensure there are no apps in the
InService
,Pending
, orDeleting
state.- Parameters:
subnetIds
- The VPC subnets that Studio uses for communication.If removing subnets, ensure there are no apps in the
InService
,Pending
, orDeleting
state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appNetworkAccessType
UpdateDomainRequest.Builder appNetworkAccessType(String appNetworkAccessType)
Specifies the VPC used for non-EFS traffic.
-
PublicInternetOnly
- Non-EFS traffic is through a VPC managed by Amazon SageMaker, which allows direct internet access. -
VpcOnly
- All Studio traffic is through the specified VPC and subnets.
This configuration can only be modified if there are no apps in the
InService
,Pending
, orDeleting
state. The configuration cannot be updated ifDomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn
is already set orDomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn
is provided as part of the same request.- Parameters:
appNetworkAccessType
- Specifies the VPC used for non-EFS traffic.-
PublicInternetOnly
- Non-EFS traffic is through a VPC managed by Amazon SageMaker, which allows direct internet access. -
VpcOnly
- All Studio traffic is through the specified VPC and subnets.
This configuration can only be modified if there are no apps in the
InService
,Pending
, orDeleting
state. The configuration cannot be updated ifDomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn
is already set orDomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn
is provided as part of the same request.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AppNetworkAccessType
,AppNetworkAccessType
-
-
appNetworkAccessType
UpdateDomainRequest.Builder appNetworkAccessType(AppNetworkAccessType appNetworkAccessType)
Specifies the VPC used for non-EFS traffic.
-
PublicInternetOnly
- Non-EFS traffic is through a VPC managed by Amazon SageMaker, which allows direct internet access. -
VpcOnly
- All Studio traffic is through the specified VPC and subnets.
This configuration can only be modified if there are no apps in the
InService
,Pending
, orDeleting
state. The configuration cannot be updated ifDomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn
is already set orDomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn
is provided as part of the same request.- Parameters:
appNetworkAccessType
- Specifies the VPC used for non-EFS traffic.-
PublicInternetOnly
- Non-EFS traffic is through a VPC managed by Amazon SageMaker, which allows direct internet access. -
VpcOnly
- All Studio traffic is through the specified VPC and subnets.
This configuration can only be modified if there are no apps in the
InService
,Pending
, orDeleting
state. The configuration cannot be updated ifDomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn
is already set orDomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn
is provided as part of the same request.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AppNetworkAccessType
,AppNetworkAccessType
-
-
overrideConfiguration
UpdateDomainRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateDomainRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-