@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDomainRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| CreateDomainRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| CreateDomainRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| String | getAppNetworkAccessType()
 Specifies the VPC used for non-EFS traffic. | 
| String | getAuthMode()
 The mode of authentication that members use to access the domain. | 
| UserSettings | getDefaultUserSettings()
 The default settings to use to create a user profile when  UserSettingsisn't specified in the call
 to theCreateUserProfileAPI. | 
| String | getDomainName()
 A name for the domain. | 
| String | getHomeEfsFileSystemKmsKeyId()Deprecated.  | 
| String | getKmsKeyId()
 SageMaker uses AWS KMS to encrypt the EFS volume attached to the domain with an AWS managed customer master key
 (CMK) by default. | 
| List<String> | getSubnetIds()
 The VPC subnets that Studio uses for communication. | 
| List<Tag> | getTags()
 Tags to associated with the Domain. | 
| String | getVpcId()
 The ID of the Amazon Virtual Private Cloud (VPC) that Studio uses for communication. | 
| int | hashCode() | 
| void | setAppNetworkAccessType(String appNetworkAccessType)
 Specifies the VPC used for non-EFS traffic. | 
| void | setAuthMode(String authMode)
 The mode of authentication that members use to access the domain. | 
| void | setDefaultUserSettings(UserSettings defaultUserSettings)
 The default settings to use to create a user profile when  UserSettingsisn't specified in the call
 to theCreateUserProfileAPI. | 
| void | setDomainName(String domainName)
 A name for the domain. | 
| void | setHomeEfsFileSystemKmsKeyId(String homeEfsFileSystemKmsKeyId)Deprecated.  | 
| void | setKmsKeyId(String kmsKeyId)
 SageMaker uses AWS KMS to encrypt the EFS volume attached to the domain with an AWS managed customer master key
 (CMK) by default. | 
| void | setSubnetIds(Collection<String> subnetIds)
 The VPC subnets that Studio uses for communication. | 
| void | setTags(Collection<Tag> tags)
 Tags to associated with the Domain. | 
| void | setVpcId(String vpcId)
 The ID of the Amazon Virtual Private Cloud (VPC) that Studio uses for communication. | 
| String | toString()Returns a string representation of this object. | 
| CreateDomainRequest | withAppNetworkAccessType(AppNetworkAccessType appNetworkAccessType)
 Specifies the VPC used for non-EFS traffic. | 
| CreateDomainRequest | withAppNetworkAccessType(String appNetworkAccessType)
 Specifies the VPC used for non-EFS traffic. | 
| CreateDomainRequest | withAuthMode(AuthMode authMode)
 The mode of authentication that members use to access the domain. | 
| CreateDomainRequest | withAuthMode(String authMode)
 The mode of authentication that members use to access the domain. | 
| CreateDomainRequest | withDefaultUserSettings(UserSettings defaultUserSettings)
 The default settings to use to create a user profile when  UserSettingsisn't specified in the call
 to theCreateUserProfileAPI. | 
| CreateDomainRequest | withDomainName(String domainName)
 A name for the domain. | 
| CreateDomainRequest | withHomeEfsFileSystemKmsKeyId(String homeEfsFileSystemKmsKeyId)Deprecated.  | 
| CreateDomainRequest | withKmsKeyId(String kmsKeyId)
 SageMaker uses AWS KMS to encrypt the EFS volume attached to the domain with an AWS managed customer master key
 (CMK) by default. | 
| CreateDomainRequest | withSubnetIds(Collection<String> subnetIds)
 The VPC subnets that Studio uses for communication. | 
| CreateDomainRequest | withSubnetIds(String... subnetIds)
 The VPC subnets that Studio uses for communication. | 
| CreateDomainRequest | withTags(Collection<Tag> tags)
 Tags to associated with the Domain. | 
| CreateDomainRequest | withTags(Tag... tags)
 Tags to associated with the Domain. | 
| CreateDomainRequest | withVpcId(String vpcId)
 The ID of the Amazon Virtual Private Cloud (VPC) that Studio uses for communication. | 
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setDomainName(String domainName)
A name for the domain.
domainName - A name for the domain.public String getDomainName()
A name for the domain.
public CreateDomainRequest withDomainName(String domainName)
A name for the domain.
domainName - A name for the domain.public void setAuthMode(String authMode)
The mode of authentication that members use to access the domain.
authMode - The mode of authentication that members use to access the domain.AuthModepublic String getAuthMode()
The mode of authentication that members use to access the domain.
AuthModepublic CreateDomainRequest withAuthMode(String authMode)
The mode of authentication that members use to access the domain.
authMode - The mode of authentication that members use to access the domain.AuthModepublic CreateDomainRequest withAuthMode(AuthMode authMode)
The mode of authentication that members use to access the domain.
authMode - The mode of authentication that members use to access the domain.AuthModepublic void setDefaultUserSettings(UserSettings defaultUserSettings)
 The default settings to use to create a user profile when UserSettings isn't specified in the call
 to the CreateUserProfile API.
 
 SecurityGroups is aggregated when specified in both calls. For all other settings in
 UserSettings, the values specified in CreateUserProfile take precedence over those
 specified in CreateDomain.
 
defaultUserSettings - The default settings to use to create a user profile when UserSettings isn't specified in the
        call to the CreateUserProfile API.
        
        SecurityGroups is aggregated when specified in both calls. For all other settings in
        UserSettings, the values specified in CreateUserProfile take precedence over
        those specified in CreateDomain.
public UserSettings getDefaultUserSettings()
 The default settings to use to create a user profile when UserSettings isn't specified in the call
 to the CreateUserProfile API.
 
 SecurityGroups is aggregated when specified in both calls. For all other settings in
 UserSettings, the values specified in CreateUserProfile take precedence over those
 specified in CreateDomain.
 
UserSettings isn't specified in
         the call to the CreateUserProfile API.
         
         SecurityGroups is aggregated when specified in both calls. For all other settings in
         UserSettings, the values specified in CreateUserProfile take precedence over
         those specified in CreateDomain.
public CreateDomainRequest withDefaultUserSettings(UserSettings defaultUserSettings)
 The default settings to use to create a user profile when UserSettings isn't specified in the call
 to the CreateUserProfile API.
 
 SecurityGroups is aggregated when specified in both calls. For all other settings in
 UserSettings, the values specified in CreateUserProfile take precedence over those
 specified in CreateDomain.
 
defaultUserSettings - The default settings to use to create a user profile when UserSettings isn't specified in the
        call to the CreateUserProfile API.
        
        SecurityGroups is aggregated when specified in both calls. For all other settings in
        UserSettings, the values specified in CreateUserProfile take precedence over
        those specified in CreateDomain.
public List<String> getSubnetIds()
The VPC subnets that Studio uses for communication.
public void setSubnetIds(Collection<String> subnetIds)
The VPC subnets that Studio uses for communication.
subnetIds - The VPC subnets that Studio uses for communication.public CreateDomainRequest withSubnetIds(String... subnetIds)
The VPC subnets that Studio uses for communication.
 NOTE: This method appends the values to the existing list (if any). Use
 setSubnetIds(java.util.Collection) or withSubnetIds(java.util.Collection) if you want to
 override the existing values.
 
subnetIds - The VPC subnets that Studio uses for communication.public CreateDomainRequest withSubnetIds(Collection<String> subnetIds)
The VPC subnets that Studio uses for communication.
subnetIds - The VPC subnets that Studio uses for communication.public void setVpcId(String vpcId)
The ID of the Amazon Virtual Private Cloud (VPC) that Studio uses for communication.
vpcId - The ID of the Amazon Virtual Private Cloud (VPC) that Studio uses for communication.public String getVpcId()
The ID of the Amazon Virtual Private Cloud (VPC) that Studio uses for communication.
public CreateDomainRequest withVpcId(String vpcId)
The ID of the Amazon Virtual Private Cloud (VPC) that Studio uses for communication.
vpcId - The ID of the Amazon Virtual Private Cloud (VPC) that Studio uses for communication.public List<Tag> getTags()
 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 Search API.
 
Search API.public void setTags(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 Search API.
 
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 Search API.public CreateDomainRequest withTags(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 Search API.
 
 NOTE: This method appends the values to the existing list (if any). Use
 setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the
 existing values.
 
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 Search API.public CreateDomainRequest withTags(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 Search API.
 
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 Search API.public void setAppNetworkAccessType(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, which allows
 direct internet access
 
 VpcOnly - All Studio traffic is through the specified VPC and subnets
 
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, which
        allows direct internet access
        
        VpcOnly - All Studio traffic is through the specified VPC and subnets
        
AppNetworkAccessTypepublic String getAppNetworkAccessType()
 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, which allows
 direct internet access
 
 VpcOnly - All Studio traffic is through the specified VPC and subnets
 
PublicInternetOnly.
         
         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
         
AppNetworkAccessTypepublic CreateDomainRequest withAppNetworkAccessType(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, which allows
 direct internet access
 
 VpcOnly - All Studio traffic is through the specified VPC and subnets
 
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, which
        allows direct internet access
        
        VpcOnly - All Studio traffic is through the specified VPC and subnets
        
AppNetworkAccessTypepublic CreateDomainRequest withAppNetworkAccessType(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, which allows
 direct internet access
 
 VpcOnly - All Studio traffic is through the specified VPC and subnets
 
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, which
        allows direct internet access
        
        VpcOnly - All Studio traffic is through the specified VPC and subnets
        
AppNetworkAccessType@Deprecated public void setHomeEfsFileSystemKmsKeyId(String homeEfsFileSystemKmsKeyId)
 This member is deprecated and replaced with KmsKeyId.
 
homeEfsFileSystemKmsKeyId - This member is deprecated and replaced with KmsKeyId.@Deprecated public String getHomeEfsFileSystemKmsKeyId()
 This member is deprecated and replaced with KmsKeyId.
 
KmsKeyId.@Deprecated public CreateDomainRequest withHomeEfsFileSystemKmsKeyId(String homeEfsFileSystemKmsKeyId)
 This member is deprecated and replaced with KmsKeyId.
 
homeEfsFileSystemKmsKeyId - This member is deprecated and replaced with KmsKeyId.public void setKmsKeyId(String kmsKeyId)
SageMaker uses AWS KMS to encrypt the EFS volume attached to the domain with an AWS managed customer master key (CMK) by default. For more control, specify a customer managed CMK.
kmsKeyId - SageMaker uses AWS KMS to encrypt the EFS volume attached to the domain with an AWS managed customer
        master key (CMK) by default. For more control, specify a customer managed CMK.public String getKmsKeyId()
SageMaker uses AWS KMS to encrypt the EFS volume attached to the domain with an AWS managed customer master key (CMK) by default. For more control, specify a customer managed CMK.
public CreateDomainRequest withKmsKeyId(String kmsKeyId)
SageMaker uses AWS KMS to encrypt the EFS volume attached to the domain with an AWS managed customer master key (CMK) by default. For more control, specify a customer managed CMK.
kmsKeyId - SageMaker uses AWS KMS to encrypt the EFS volume attached to the domain with an AWS managed customer
        master key (CMK) by default. For more control, specify a customer managed CMK.public String toString()
toString in class ObjectObject.toString()public CreateDomainRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()