Interface CreateDomainRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateDomainRequest.Builder,CreateDomainRequest>,SageMakerRequest.Builder,SdkBuilder<CreateDomainRequest.Builder,CreateDomainRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateDomainRequest
public static interface CreateDomainRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<CreateDomainRequest.Builder,CreateDomainRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description CreateDomainRequest.BuilderappNetworkAccessType(String appNetworkAccessType)Specifies the VPC used for non-EFS traffic.CreateDomainRequest.BuilderappNetworkAccessType(AppNetworkAccessType appNetworkAccessType)Specifies the VPC used for non-EFS traffic.CreateDomainRequest.BuilderappSecurityGroupManagement(String appSecurityGroupManagement)The entity that creates and manages the required security groups for inter-app communication inVPCOnlymode.CreateDomainRequest.BuilderappSecurityGroupManagement(AppSecurityGroupManagement appSecurityGroupManagement)The entity that creates and manages the required security groups for inter-app communication inVPCOnlymode.CreateDomainRequest.BuilderauthMode(String authMode)The mode of authentication that members use to access the domain.CreateDomainRequest.BuilderauthMode(AuthMode authMode)The mode of authentication that members use to access the domain.default CreateDomainRequest.BuilderdefaultSpaceSettings(Consumer<DefaultSpaceSettings.Builder> defaultSpaceSettings)The default settings for shared spaces that users create in the domain.CreateDomainRequest.BuilderdefaultSpaceSettings(DefaultSpaceSettings defaultSpaceSettings)The default settings for shared spaces that users create in the domain.default CreateDomainRequest.BuilderdefaultUserSettings(Consumer<UserSettings.Builder> defaultUserSettings)The default settings to use to create a user profile whenUserSettingsisn't specified in the call to theCreateUserProfileAPI.CreateDomainRequest.BuilderdefaultUserSettings(UserSettings defaultUserSettings)The default settings to use to create a user profile whenUserSettingsisn't specified in the call to theCreateUserProfileAPI.CreateDomainRequest.BuilderdomainName(String domainName)A name for the domain.default CreateDomainRequest.BuilderdomainSettings(Consumer<DomainSettings.Builder> domainSettings)A collection ofDomainsettings.CreateDomainRequest.BuilderdomainSettings(DomainSettings domainSettings)A collection ofDomainsettings.CreateDomainRequest.BuilderhomeEfsFileSystemKmsKeyId(String homeEfsFileSystemKmsKeyId)Deprecated.This property is deprecated, use KmsKeyId instead.CreateDomainRequest.BuilderkmsKeyId(String kmsKeyId)SageMaker AI uses Amazon Web Services KMS to encrypt EFS and EBS volumes attached to the domain with an Amazon Web Services managed key by default.CreateDomainRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateDomainRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateDomainRequest.BuildersubnetIds(String... subnetIds)The VPC subnets that the domain uses for communication.CreateDomainRequest.BuildersubnetIds(Collection<String> subnetIds)The VPC subnets that the domain uses for communication.CreateDomainRequest.BuildertagPropagation(String tagPropagation)Indicates whether custom tag propagation is supported for the domain.CreateDomainRequest.BuildertagPropagation(TagPropagation tagPropagation)Indicates whether custom tag propagation is supported for the domain.CreateDomainRequest.Buildertags(Collection<Tag> tags)Tags to associated with the Domain.CreateDomainRequest.Buildertags(Consumer<Tag.Builder>... tags)Tags to associated with the Domain.CreateDomainRequest.Buildertags(Tag... tags)Tags to associated with the Domain.CreateDomainRequest.BuildervpcId(String vpcId)The ID of the Amazon Virtual Private Cloud (VPC) that the domain 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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
domainName
CreateDomainRequest.Builder domainName(String domainName)
A name for the domain.
- Parameters:
domainName- A name for the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authMode
CreateDomainRequest.Builder authMode(String authMode)
The mode of authentication that members use to access the domain.
-
authMode
CreateDomainRequest.Builder authMode(AuthMode authMode)
The mode of authentication that members use to access the domain.
-
defaultUserSettings
CreateDomainRequest.Builder defaultUserSettings(UserSettings defaultUserSettings)
The default settings to use to create a user profile when
UserSettingsisn't specified in the call to theCreateUserProfileAPI.SecurityGroupsis aggregated when specified in both calls. For all other settings inUserSettings, the values specified inCreateUserProfiletake precedence over those specified inCreateDomain.- Parameters:
defaultUserSettings- The default settings to use to create a user profile whenUserSettingsisn't specified in the call to theCreateUserProfileAPI.SecurityGroupsis aggregated when specified in both calls. For all other settings inUserSettings, the values specified inCreateUserProfiletake precedence over those specified inCreateDomain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultUserSettings
default CreateDomainRequest.Builder defaultUserSettings(Consumer<UserSettings.Builder> defaultUserSettings)
The default settings to use to create a user profile when
UserSettingsisn't specified in the call to theCreateUserProfileAPI.
This is a convenience method that creates an instance of theSecurityGroupsis aggregated when specified in both calls. For all other settings inUserSettings, the values specified inCreateUserProfiletake precedence over those specified inCreateDomain.UserSettings.Builderavoiding the need to create one manually viaUserSettings.builder().When the
Consumercompletes,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)
-
domainSettings
CreateDomainRequest.Builder domainSettings(DomainSettings domainSettings)
A collection of
Domainsettings.- Parameters:
domainSettings- A collection ofDomainsettings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainSettings
default CreateDomainRequest.Builder domainSettings(Consumer<DomainSettings.Builder> domainSettings)
A collection of
This is a convenience method that creates an instance of theDomainsettings.DomainSettings.Builderavoiding the need to create one manually viaDomainSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todomainSettings(DomainSettings).- Parameters:
domainSettings- a consumer that will call methods onDomainSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
domainSettings(DomainSettings)
-
subnetIds
CreateDomainRequest.Builder subnetIds(Collection<String> subnetIds)
The VPC subnets that the domain uses for communication.
- Parameters:
subnetIds- The VPC subnets that the domain uses for communication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetIds
CreateDomainRequest.Builder subnetIds(String... subnetIds)
The VPC subnets that the domain uses for communication.
- Parameters:
subnetIds- The VPC subnets that the domain uses for communication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcId
CreateDomainRequest.Builder vpcId(String vpcId)
The ID of the Amazon Virtual Private Cloud (VPC) that the domain uses for communication.
- Parameters:
vpcId- The ID of the Amazon Virtual Private Cloud (VPC) that the domain uses for communication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateDomainRequest.Builder tags(Collection<Tag> tags)
Tags to associated with the Domain. Each tag consists of a key and an optional value. Tag keys must be unique per resource. Tags are searchable using the
SearchAPI.Tags that you specify for the Domain are also added to all Apps that the Domain launches.
- Parameters:
tags- Tags to associated with the Domain. Each tag consists of a key and an optional value. Tag keys must be unique per resource. Tags are searchable using theSearchAPI.Tags that you specify for the Domain are also added to all Apps that the Domain launches.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateDomainRequest.Builder tags(Tag... tags)
Tags to associated with the Domain. Each tag consists of a key and an optional value. Tag keys must be unique per resource. Tags are searchable using the
SearchAPI.Tags that you specify for the Domain are also added to all Apps that the Domain launches.
- Parameters:
tags- Tags to associated with the Domain. Each tag consists of a key and an optional value. Tag keys must be unique per resource. Tags are searchable using theSearchAPI.Tags that you specify for the Domain are also added to all Apps that the Domain launches.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateDomainRequest.Builder tags(Consumer<Tag.Builder>... tags)
Tags to associated with the Domain. Each tag consists of a key and an optional value. Tag keys must be unique per resource. Tags are searchable using the
SearchAPI.Tags that you specify for the Domain are also added to all Apps that the Domain launches.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
appNetworkAccessType
CreateDomainRequest.Builder appNetworkAccessType(String appNetworkAccessType)
Specifies the VPC used for non-EFS traffic. The default value is
PublicInternetOnly.-
PublicInternetOnly- Non-EFS traffic is through a VPC managed by Amazon SageMaker AI, which allows direct internet access -
VpcOnly- All traffic is through the specified VPC and subnets
- Parameters:
appNetworkAccessType- Specifies the VPC used for non-EFS traffic. The default value isPublicInternetOnly.-
PublicInternetOnly- Non-EFS traffic is through a VPC managed by Amazon SageMaker AI, which allows direct internet access -
VpcOnly- All traffic is through the specified VPC and subnets
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AppNetworkAccessType,AppNetworkAccessType
-
-
appNetworkAccessType
CreateDomainRequest.Builder appNetworkAccessType(AppNetworkAccessType appNetworkAccessType)
Specifies the VPC used for non-EFS traffic. The default value is
PublicInternetOnly.-
PublicInternetOnly- Non-EFS traffic is through a VPC managed by Amazon SageMaker AI, which allows direct internet access -
VpcOnly- All traffic is through the specified VPC and subnets
- Parameters:
appNetworkAccessType- Specifies the VPC used for non-EFS traffic. The default value isPublicInternetOnly.-
PublicInternetOnly- Non-EFS traffic is through a VPC managed by Amazon SageMaker AI, which allows direct internet access -
VpcOnly- All traffic is through the specified VPC and subnets
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AppNetworkAccessType,AppNetworkAccessType
-
-
homeEfsFileSystemKmsKeyId
@Deprecated CreateDomainRequest.Builder homeEfsFileSystemKmsKeyId(String homeEfsFileSystemKmsKeyId)
Deprecated.This property is deprecated, use KmsKeyId instead.Use
KmsKeyId.- Parameters:
homeEfsFileSystemKmsKeyId- UseKmsKeyId.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyId
CreateDomainRequest.Builder kmsKeyId(String kmsKeyId)
SageMaker AI uses Amazon Web Services KMS to encrypt EFS and EBS volumes attached to the domain with an Amazon Web Services managed key by default. For more control, specify a customer managed key.
- Parameters:
kmsKeyId- SageMaker AI uses Amazon Web Services KMS to encrypt EFS and EBS volumes attached to the domain with an Amazon Web Services managed key by default. For more control, specify a customer managed key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appSecurityGroupManagement
CreateDomainRequest.Builder appSecurityGroupManagement(String appSecurityGroupManagement)
The entity that creates and manages the required security groups for inter-app communication in
VPCOnlymode. Required whenCreateDomain.AppNetworkAccessTypeisVPCOnlyandDomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArnis 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 inVPCOnlymode. Required whenCreateDomain.AppNetworkAccessTypeisVPCOnlyandDomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArnis 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
CreateDomainRequest.Builder appSecurityGroupManagement(AppSecurityGroupManagement appSecurityGroupManagement)
The entity that creates and manages the required security groups for inter-app communication in
VPCOnlymode. Required whenCreateDomain.AppNetworkAccessTypeisVPCOnlyandDomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArnis 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 inVPCOnlymode. Required whenCreateDomain.AppNetworkAccessTypeisVPCOnlyandDomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArnis 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
-
tagPropagation
CreateDomainRequest.Builder tagPropagation(String tagPropagation)
Indicates whether custom tag propagation is supported for the domain. Defaults to
DISABLED.- Parameters:
tagPropagation- Indicates whether custom tag propagation is supported for the domain. Defaults toDISABLED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TagPropagation,TagPropagation
-
tagPropagation
CreateDomainRequest.Builder tagPropagation(TagPropagation tagPropagation)
Indicates whether custom tag propagation is supported for the domain. Defaults to
DISABLED.- Parameters:
tagPropagation- Indicates whether custom tag propagation is supported for the domain. Defaults toDISABLED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TagPropagation,TagPropagation
-
defaultSpaceSettings
CreateDomainRequest.Builder defaultSpaceSettings(DefaultSpaceSettings defaultSpaceSettings)
The default settings for shared spaces that users create in the domain.
- Parameters:
defaultSpaceSettings- The default settings for shared spaces that users create in the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultSpaceSettings
default CreateDomainRequest.Builder defaultSpaceSettings(Consumer<DefaultSpaceSettings.Builder> defaultSpaceSettings)
The default settings for shared spaces that users create in the domain.
This is a convenience method that creates an instance of theDefaultSpaceSettings.Builderavoiding the need to create one manually viaDefaultSpaceSettings.builder().When the
Consumercompletes,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)
-
overrideConfiguration
CreateDomainRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateDomainRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-