Class CfnDomain.DockerSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnDomain.DockerSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomain.DockerSettingsProperty>
- Enclosing interface:
CfnDomain.DockerSettingsProperty
@Stability(Stable)
public static final class CfnDomain.DockerSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomain.DockerSettingsProperty>
A builder for
CfnDomain.DockerSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.enableDockerAccess(String enableDockerAccess) Sets the value ofCfnDomain.DockerSettingsProperty.getEnableDockerAccess()vpcOnlyTrustedAccounts(List<String> vpcOnlyTrustedAccounts) Sets the value ofCfnDomain.DockerSettingsProperty.getVpcOnlyTrustedAccounts()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enableDockerAccess
@Stability(Stable) public CfnDomain.DockerSettingsProperty.Builder enableDockerAccess(String enableDockerAccess) Sets the value ofCfnDomain.DockerSettingsProperty.getEnableDockerAccess()- Parameters:
enableDockerAccess- Indicates whether the domain can access Docker.- Returns:
this
-
vpcOnlyTrustedAccounts
@Stability(Stable) public CfnDomain.DockerSettingsProperty.Builder vpcOnlyTrustedAccounts(List<String> vpcOnlyTrustedAccounts) Sets the value ofCfnDomain.DockerSettingsProperty.getVpcOnlyTrustedAccounts()- Parameters:
vpcOnlyTrustedAccounts- The list of AWS accounts that are trusted when the domain is created in VPC-only mode.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDomain.DockerSettingsProperty>- Returns:
- a new instance of
CfnDomain.DockerSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-