Class CfnDomainPropsMixin.DockerSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnDomainPropsMixin.DockerSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomainPropsMixin.DockerSettingsProperty>
- Enclosing interface:
CfnDomainPropsMixin.DockerSettingsProperty
@Stability(Stable)
public static final class CfnDomainPropsMixin.DockerSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomainPropsMixin.DockerSettingsProperty>
A builder for
CfnDomainPropsMixin.DockerSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.enableDockerAccess(String enableDockerAccess) Sets the value ofCfnDomainPropsMixin.DockerSettingsProperty.getEnableDockerAccess()vpcOnlyTrustedAccounts(List<String> vpcOnlyTrustedAccounts) Sets the value ofCfnDomainPropsMixin.DockerSettingsProperty.getVpcOnlyTrustedAccounts()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enableDockerAccess
@Stability(Stable) public CfnDomainPropsMixin.DockerSettingsProperty.Builder enableDockerAccess(String enableDockerAccess) Sets the value ofCfnDomainPropsMixin.DockerSettingsProperty.getEnableDockerAccess()- Parameters:
enableDockerAccess- Indicates whether the domain can access Docker.- Returns:
this
-
vpcOnlyTrustedAccounts
@Stability(Stable) public CfnDomainPropsMixin.DockerSettingsProperty.Builder vpcOnlyTrustedAccounts(List<String> vpcOnlyTrustedAccounts) Sets the value ofCfnDomainPropsMixin.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<CfnDomainPropsMixin.DockerSettingsProperty>- Returns:
- a new instance of
CfnDomainPropsMixin.DockerSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-