@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 | getAppSecurityGroupManagement()
 The entity that creates and manages the required security groups for inter-app communication in
  VPCOnlymode. | 
| String | getAuthMode()
 The mode of authentication that members use to access the domain. | 
| DefaultSpaceSettings | getDefaultSpaceSettings()
 The default settings used to create a space. | 
| 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. | 
| DomainSettings | getDomainSettings()
 A collection of  Domainsettings. | 
| String | getHomeEfsFileSystemKmsKeyId()Deprecated.  | 
| String | getKmsKeyId()
 SageMaker uses Amazon Web Services KMS to encrypt EFS and EBS volumes attached to the domain with an Amazon Web
 Services managed key by default. | 
| List<String> | getSubnetIds()
 The VPC subnets that the domain uses for communication. | 
| List<Tag> | getTags()
 Tags to associated with the Domain. | 
| String | getVpcId()
 The ID of the Amazon Virtual Private Cloud (VPC) that the domain uses for communication. | 
| int | hashCode() | 
| void | setAppNetworkAccessType(String appNetworkAccessType)
 Specifies the VPC used for non-EFS traffic. | 
| void | setAppSecurityGroupManagement(String appSecurityGroupManagement)
 The entity that creates and manages the required security groups for inter-app communication in
  VPCOnlymode. | 
| void | setAuthMode(String authMode)
 The mode of authentication that members use to access the domain. | 
| void | setDefaultSpaceSettings(DefaultSpaceSettings defaultSpaceSettings)
 The default settings used to create a space. | 
| 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 | setDomainSettings(DomainSettings domainSettings)
 A collection of  Domainsettings. | 
| void | setHomeEfsFileSystemKmsKeyId(String homeEfsFileSystemKmsKeyId)Deprecated.  | 
| void | setKmsKeyId(String kmsKeyId)
 SageMaker uses Amazon Web Services KMS to encrypt EFS and EBS volumes attached to the domain with an Amazon Web
 Services managed key by default. | 
| void | setSubnetIds(Collection<String> subnetIds)
 The VPC subnets that the domain 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 the domain 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 | withAppSecurityGroupManagement(AppSecurityGroupManagement appSecurityGroupManagement)
 The entity that creates and manages the required security groups for inter-app communication in
  VPCOnlymode. | 
| CreateDomainRequest | withAppSecurityGroupManagement(String appSecurityGroupManagement)
 The entity that creates and manages the required security groups for inter-app communication in
  VPCOnlymode. | 
| 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 | withDefaultSpaceSettings(DefaultSpaceSettings defaultSpaceSettings)
 The default settings used to create a space. | 
| 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 | withDomainSettings(DomainSettings domainSettings)
 A collection of  Domainsettings. | 
| CreateDomainRequest | withHomeEfsFileSystemKmsKeyId(String homeEfsFileSystemKmsKeyId)Deprecated.  | 
| CreateDomainRequest | withKmsKeyId(String kmsKeyId)
 SageMaker 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 | withSubnetIds(Collection<String> subnetIds)
 The VPC subnets that the domain uses for communication. | 
| CreateDomainRequest | withSubnetIds(String... subnetIds)
 The VPC subnets that the domain 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 the domain 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 void setDomainSettings(DomainSettings domainSettings)
 A collection of Domain settings.
 
domainSettings - A collection of Domain settings.public DomainSettings getDomainSettings()
 A collection of Domain settings.
 
Domain settings.public CreateDomainRequest withDomainSettings(DomainSettings domainSettings)
 A collection of Domain settings.
 
domainSettings - A collection of Domain settings.public List<String> getSubnetIds()
The VPC subnets that the domain uses for communication.
public void setSubnetIds(Collection<String> subnetIds)
The VPC subnets that the domain uses for communication.
subnetIds - The VPC subnets that the domain uses for communication.public CreateDomainRequest withSubnetIds(String... subnetIds)
The VPC subnets that the domain 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 the domain uses for communication.public CreateDomainRequest withSubnetIds(Collection<String> subnetIds)
The VPC subnets that the domain uses for communication.
subnetIds - The VPC subnets that the domain uses for communication.public void setVpcId(String vpcId)
The ID of the Amazon Virtual Private Cloud (VPC) that the domain uses for communication.
vpcId - The ID of the Amazon Virtual Private Cloud (VPC) that the domain uses for communication.public String getVpcId()
The ID of the Amazon Virtual Private Cloud (VPC) that the domain uses for communication.
public CreateDomainRequest withVpcId(String vpcId)
The ID of the Amazon Virtual Private Cloud (VPC) that the domain uses for communication.
vpcId - The ID of the Amazon Virtual Private Cloud (VPC) that the domain 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.
 
Tags that you specify for the Domain are also added to all Apps that the Domain launches.
Search API.
         Tags that you specify for the Domain are also added to all Apps that the Domain launches.
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 that you specify for the Domain are also added to all Apps that the Domain launches.
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 that you specify for the Domain are also added to all Apps that the Domain launches.
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.
 
Tags that you specify for the Domain are also added to all Apps that the Domain launches.
 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.
        Tags that you specify for the Domain are also added to all Apps that the Domain launches.
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 that you specify for the Domain are also added to all Apps that the Domain launches.
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 that you specify for the Domain are also added to all Apps that the Domain launches.
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 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 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 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 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 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 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 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 traffic is through the specified VPC and subnets
        
AppNetworkAccessType@Deprecated public void setHomeEfsFileSystemKmsKeyId(String homeEfsFileSystemKmsKeyId)
 Use KmsKeyId.
 
homeEfsFileSystemKmsKeyId - Use KmsKeyId.@Deprecated public String getHomeEfsFileSystemKmsKeyId()
 Use KmsKeyId.
 
KmsKeyId.@Deprecated public CreateDomainRequest withHomeEfsFileSystemKmsKeyId(String homeEfsFileSystemKmsKeyId)
 Use KmsKeyId.
 
homeEfsFileSystemKmsKeyId - Use KmsKeyId.public void setKmsKeyId(String kmsKeyId)
SageMaker 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.
kmsKeyId - SageMaker 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.public String getKmsKeyId()
SageMaker 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.
public CreateDomainRequest withKmsKeyId(String kmsKeyId)
SageMaker 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.
kmsKeyId - SageMaker 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.public void setAppSecurityGroupManagement(String appSecurityGroupManagement)
 The entity that creates and manages the required security groups for inter-app communication in
 VPCOnly mode. Required when CreateDomain.AppNetworkAccessType is VPCOnly
 and DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn is provided. If setting up
 the domain for use with RStudio, this value must be set to Service.
 
appSecurityGroupManagement - The entity that creates and manages the required security groups for inter-app communication in
        VPCOnly mode. Required when CreateDomain.AppNetworkAccessType is
        VPCOnly and DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn
        is provided. If setting up the domain for use with RStudio, this value must be set to Service
        .AppSecurityGroupManagementpublic String getAppSecurityGroupManagement()
 The entity that creates and manages the required security groups for inter-app communication in
 VPCOnly mode. Required when CreateDomain.AppNetworkAccessType is VPCOnly
 and DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn is provided. If setting up
 the domain for use with RStudio, this value must be set to Service.
 
VPCOnly mode. Required when CreateDomain.AppNetworkAccessType is
         VPCOnly and
         DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn is provided. If setting
         up the domain for use with RStudio, this value must be set to Service.AppSecurityGroupManagementpublic CreateDomainRequest withAppSecurityGroupManagement(String appSecurityGroupManagement)
 The entity that creates and manages the required security groups for inter-app communication in
 VPCOnly mode. Required when CreateDomain.AppNetworkAccessType is VPCOnly
 and DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn is provided. If setting up
 the domain for use with RStudio, this value must be set to Service.
 
appSecurityGroupManagement - The entity that creates and manages the required security groups for inter-app communication in
        VPCOnly mode. Required when CreateDomain.AppNetworkAccessType is
        VPCOnly and DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn
        is provided. If setting up the domain for use with RStudio, this value must be set to Service
        .AppSecurityGroupManagementpublic CreateDomainRequest withAppSecurityGroupManagement(AppSecurityGroupManagement appSecurityGroupManagement)
 The entity that creates and manages the required security groups for inter-app communication in
 VPCOnly mode. Required when CreateDomain.AppNetworkAccessType is VPCOnly
 and DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn is provided. If setting up
 the domain for use with RStudio, this value must be set to Service.
 
appSecurityGroupManagement - The entity that creates and manages the required security groups for inter-app communication in
        VPCOnly mode. Required when CreateDomain.AppNetworkAccessType is
        VPCOnly and DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn
        is provided. If setting up the domain for use with RStudio, this value must be set to Service
        .AppSecurityGroupManagementpublic void setDefaultSpaceSettings(DefaultSpaceSettings defaultSpaceSettings)
The default settings used to create a space.
defaultSpaceSettings - The default settings used to create a space.public DefaultSpaceSettings getDefaultSpaceSettings()
The default settings used to create a space.
public CreateDomainRequest withDefaultSpaceSettings(DefaultSpaceSettings defaultSpaceSettings)
The default settings used to create a space.
defaultSpaceSettings - The default settings used to create a space.public String toString()
toString in class ObjectObject.toString()public CreateDomainRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()