Class CfnDomain.UnifiedStudioSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnDomain.UnifiedStudioSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomain.UnifiedStudioSettingsProperty>
- Enclosing interface:
CfnDomain.UnifiedStudioSettingsProperty
@Stability(Stable)
public static final class CfnDomain.UnifiedStudioSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomain.UnifiedStudioSettingsProperty>
A builder for
CfnDomain.UnifiedStudioSettingsProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.domainAccountId
(String domainAccountId) Sets the value ofCfnDomain.UnifiedStudioSettingsProperty.getDomainAccountId()
Sets the value ofCfnDomain.UnifiedStudioSettingsProperty.getDomainId()
domainRegion
(String domainRegion) Sets the value ofCfnDomain.UnifiedStudioSettingsProperty.getDomainRegion()
environmentId
(String environmentId) Sets the value ofCfnDomain.UnifiedStudioSettingsProperty.getEnvironmentId()
Sets the value ofCfnDomain.UnifiedStudioSettingsProperty.getProjectId()
projectS3Path
(String projectS3Path) Sets the value ofCfnDomain.UnifiedStudioSettingsProperty.getProjectS3Path()
singleSignOnApplicationArn
(String singleSignOnApplicationArn) Sets the value ofCfnDomain.UnifiedStudioSettingsProperty.getSingleSignOnApplicationArn()
studioWebPortalAccess
(String studioWebPortalAccess) Sets the value ofCfnDomain.UnifiedStudioSettingsProperty.getStudioWebPortalAccess()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
domainAccountId
@Stability(Stable) public CfnDomain.UnifiedStudioSettingsProperty.Builder domainAccountId(String domainAccountId) Sets the value ofCfnDomain.UnifiedStudioSettingsProperty.getDomainAccountId()
- Parameters:
domainAccountId
- The ID of the AWS account that has the Amazon SageMaker Unified Studio domain. The default value, if you don't specify an ID, is the ID of the account that has the Amazon SageMaker AI domain.- Returns:
this
-
domainId
Sets the value ofCfnDomain.UnifiedStudioSettingsProperty.getDomainId()
- Parameters:
domainId
- The ID of the Amazon SageMaker Unified Studio domain associated with this domain.- Returns:
this
-
domainRegion
@Stability(Stable) public CfnDomain.UnifiedStudioSettingsProperty.Builder domainRegion(String domainRegion) Sets the value ofCfnDomain.UnifiedStudioSettingsProperty.getDomainRegion()
- Parameters:
domainRegion
- The AWS Region where the domain is located in Amazon SageMaker Unified Studio. The default value, if you don't specify a Region, is the Region where the Amazon SageMaker AI domain is located.- Returns:
this
-
environmentId
@Stability(Stable) public CfnDomain.UnifiedStudioSettingsProperty.Builder environmentId(String environmentId) Sets the value ofCfnDomain.UnifiedStudioSettingsProperty.getEnvironmentId()
- Parameters:
environmentId
- The ID of the environment that Amazon SageMaker Unified Studio associates with the domain.- Returns:
this
-
projectId
@Stability(Stable) public CfnDomain.UnifiedStudioSettingsProperty.Builder projectId(String projectId) Sets the value ofCfnDomain.UnifiedStudioSettingsProperty.getProjectId()
- Parameters:
projectId
- The ID of the Amazon SageMaker Unified Studio project that corresponds to the domain.- Returns:
this
-
projectS3Path
@Stability(Stable) public CfnDomain.UnifiedStudioSettingsProperty.Builder projectS3Path(String projectS3Path) Sets the value ofCfnDomain.UnifiedStudioSettingsProperty.getProjectS3Path()
- Parameters:
projectS3Path
- The location where Amazon S3 stores temporary execution data and other artifacts for the project that corresponds to the domain.- Returns:
this
-
singleSignOnApplicationArn
@Stability(Stable) public CfnDomain.UnifiedStudioSettingsProperty.Builder singleSignOnApplicationArn(String singleSignOnApplicationArn) Sets the value ofCfnDomain.UnifiedStudioSettingsProperty.getSingleSignOnApplicationArn()
- Parameters:
singleSignOnApplicationArn
- The ARN of the application managed by SageMaker AI and SageMaker Unified Studio in the AWS IAM Identity Center.- Returns:
this
-
studioWebPortalAccess
@Stability(Stable) public CfnDomain.UnifiedStudioSettingsProperty.Builder studioWebPortalAccess(String studioWebPortalAccess) Sets the value ofCfnDomain.UnifiedStudioSettingsProperty.getStudioWebPortalAccess()
- Parameters:
studioWebPortalAccess
- Sets whether you can access the domain in Amazon SageMaker Studio:.- ENABLED - You can access the domain in Amazon SageMaker Studio. If you migrate the domain to Amazon SageMaker Unified Studio, you can access it in both studio interfaces.
- DISABLED - You can't access the domain in Amazon SageMaker Studio. If you migrate the domain to Amazon SageMaker Unified Studio, you can access it only in that studio interface.
To migrate a domain to Amazon SageMaker Unified Studio, you specify the UnifiedStudioSettings data type when you use the UpdateDomain action.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDomain.UnifiedStudioSettingsProperty>
- Returns:
- a new instance of
CfnDomain.UnifiedStudioSettingsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-