Class CfnDomainMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnDomainMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomainMixinProps>
- Enclosing interface:
CfnDomainMixinProps
@Stability(Stable)
public static final class CfnDomainMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomainMixinProps>
A builder for
CfnDomainMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappNetworkAccessType(String appNetworkAccessType) Sets the value ofCfnDomainMixinProps.getAppNetworkAccessType()appSecurityGroupManagement(String appSecurityGroupManagement) Sets the value ofCfnDomainMixinProps.getAppSecurityGroupManagement()Sets the value ofCfnDomainMixinProps.getAuthMode()build()Builds the configured instance.defaultSpaceSettings(CfnDomainPropsMixin.DefaultSpaceSettingsProperty defaultSpaceSettings) Sets the value ofCfnDomainMixinProps.getDefaultSpaceSettings()defaultSpaceSettings(IResolvable defaultSpaceSettings) Sets the value ofCfnDomainMixinProps.getDefaultSpaceSettings()defaultUserSettings(CfnDomainPropsMixin.UserSettingsProperty defaultUserSettings) Sets the value ofCfnDomainMixinProps.getDefaultUserSettings()defaultUserSettings(IResolvable defaultUserSettings) Sets the value ofCfnDomainMixinProps.getDefaultUserSettings()domainName(String domainName) Sets the value ofCfnDomainMixinProps.getDomainName()domainSettings(CfnDomainPropsMixin.DomainSettingsProperty domainSettings) Sets the value ofCfnDomainMixinProps.getDomainSettings()domainSettings(IResolvable domainSettings) Sets the value ofCfnDomainMixinProps.getDomainSettings()Sets the value ofCfnDomainMixinProps.getKmsKeyId()Sets the value ofCfnDomainMixinProps.getSubnetIds()tagPropagation(String tagPropagation) Sets the value ofCfnDomainMixinProps.getTagPropagation()Sets the value ofCfnDomainMixinProps.getTags()Sets the value ofCfnDomainMixinProps.getVpcId()Sets the value ofCfnDomainMixinProps.getVpcId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
appNetworkAccessType
@Stability(Stable) public CfnDomainMixinProps.Builder appNetworkAccessType(String appNetworkAccessType) Sets the value ofCfnDomainMixinProps.getAppNetworkAccessType()- 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 accessVpcOnly- All Studio traffic is through the specified VPC and subnets
Valid Values :
PublicInternetOnly | VpcOnly- Returns:
this
-
appSecurityGroupManagement
@Stability(Stable) public CfnDomainMixinProps.Builder appSecurityGroupManagement(String appSecurityGroupManagement) Sets the value ofCfnDomainMixinProps.getAppSecurityGroupManagement()- 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.Allowed Values :
Service|Customer- Returns:
this
-
authMode
Sets the value ofCfnDomainMixinProps.getAuthMode()- Parameters:
authMode- The mode of authentication that members use to access the Domain. Valid Values :SSO | IAM- Returns:
this
-
defaultSpaceSettings
@Stability(Stable) public CfnDomainMixinProps.Builder defaultSpaceSettings(IResolvable defaultSpaceSettings) Sets the value ofCfnDomainMixinProps.getDefaultSpaceSettings()- Parameters:
defaultSpaceSettings- The default settings for shared spaces that users create in the domain. SageMaker applies these settings only to shared spaces. It doesn't apply them to private spaces.- Returns:
this
-
defaultSpaceSettings
@Stability(Stable) public CfnDomainMixinProps.Builder defaultSpaceSettings(CfnDomainPropsMixin.DefaultSpaceSettingsProperty defaultSpaceSettings) Sets the value ofCfnDomainMixinProps.getDefaultSpaceSettings()- Parameters:
defaultSpaceSettings- The default settings for shared spaces that users create in the domain. SageMaker applies these settings only to shared spaces. It doesn't apply them to private spaces.- Returns:
this
-
defaultUserSettings
@Stability(Stable) public CfnDomainMixinProps.Builder defaultUserSettings(IResolvable defaultUserSettings) Sets the value ofCfnDomainMixinProps.getDefaultUserSettings()- Parameters:
defaultUserSettings- The default user settings.- Returns:
this
-
defaultUserSettings
@Stability(Stable) public CfnDomainMixinProps.Builder defaultUserSettings(CfnDomainPropsMixin.UserSettingsProperty defaultUserSettings) Sets the value ofCfnDomainMixinProps.getDefaultUserSettings()- Parameters:
defaultUserSettings- The default user settings.- Returns:
this
-
domainName
Sets the value ofCfnDomainMixinProps.getDomainName()- Parameters:
domainName- The domain name.- Returns:
this
-
domainSettings
Sets the value ofCfnDomainMixinProps.getDomainSettings()- Parameters:
domainSettings- A collection of settings that apply to theSageMaker Domain. These settings are specified through theCreateDomainAPI call.- Returns:
this
-
domainSettings
@Stability(Stable) public CfnDomainMixinProps.Builder domainSettings(CfnDomainPropsMixin.DomainSettingsProperty domainSettings) Sets the value ofCfnDomainMixinProps.getDomainSettings()- Parameters:
domainSettings- A collection of settings that apply to theSageMaker Domain. These settings are specified through theCreateDomainAPI call.- Returns:
this
-
kmsKeyId
Sets the value ofCfnDomainMixinProps.getKmsKeyId()- Parameters:
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.Length Constraints : Maximum length of 2048.
Pattern :
.*- Returns:
this
-
subnetIds
Sets the value ofCfnDomainMixinProps.getSubnetIds()- Parameters:
subnetIds- The VPC subnets that Studio uses for communication. Length Constraints : Maximum length of 32.Array members : Minimum number of 1 item. Maximum number of 16 items.
Pattern :
[-0-9a-zA-Z]+- Returns:
this
-
tagPropagation
Sets the value ofCfnDomainMixinProps.getTagPropagation()- Parameters:
tagPropagation- Indicates whether the tags added to Domain, User Profile and Space entity is propagated to all SageMaker resources.- Returns:
this
-
tags
Sets the value ofCfnDomainMixinProps.getTags()- 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 the Search API.Tags that you specify for the Domain are also added to all apps that are launched in the Domain.
Array members : Minimum number of 0 items. Maximum number of 50 items.
- Returns:
this
-
vpcId
Sets the value ofCfnDomainMixinProps.getVpcId()- Parameters:
vpcId- The ID of the Amazon Virtual Private Cloud (Amazon VPC) that Studio uses for communication. Length Constraints : Maximum length of 32.Pattern :
[-0-9a-zA-Z]+- Returns:
this
-
vpcId
Sets the value ofCfnDomainMixinProps.getVpcId()- Parameters:
vpcId- The ID of the Amazon Virtual Private Cloud (Amazon VPC) that Studio uses for communication. Length Constraints : Maximum length of 32.Pattern :
[-0-9a-zA-Z]+- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDomainMixinProps>- Returns:
- a new instance of
CfnDomainMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-