Interface UpdateDomainRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateDomainRequest.Builder,
,UpdateDomainRequest> SageMakerRequest.Builder
,SdkBuilder<UpdateDomainRequest.Builder,
,UpdateDomainRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateDomainRequest
-
Method Summary
Modifier and TypeMethodDescriptionappNetworkAccessType
(String appNetworkAccessType) Specifies the VPC used for non-EFS traffic.appNetworkAccessType
(AppNetworkAccessType appNetworkAccessType) Specifies the VPC used for non-EFS traffic.appSecurityGroupManagement
(String appSecurityGroupManagement) The entity that creates and manages the required security groups for inter-app communication inVPCOnly
mode.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.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.defaultUserSettings
(UserSettings defaultUserSettings) A collection of settings.The ID of the domain to be updated.default UpdateDomainRequest.Builder
domainSettingsForUpdate
(Consumer<DomainSettingsForUpdate.Builder> domainSettingsForUpdate) A collection ofDomainSettings
configuration values to update.domainSettingsForUpdate
(DomainSettingsForUpdate domainSettingsForUpdate) A collection ofDomainSettings
configuration values to update.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The VPC subnets that Studio uses for communication.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 Details
-
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
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:
-
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:
-
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
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:
-
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:
-
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
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
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
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:
-
-
overrideConfiguration
UpdateDomainRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateDomainRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-