Class CfnProcessingJob.NetworkConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnProcessingJob.NetworkConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProcessingJob.NetworkConfigProperty>
- Enclosing interface:
CfnProcessingJob.NetworkConfigProperty
@Stability(Stable)
public static final class CfnProcessingJob.NetworkConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProcessingJob.NetworkConfigProperty>
A builder for
CfnProcessingJob.NetworkConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.enableInterContainerTrafficEncryption(Boolean enableInterContainerTrafficEncryption) enableInterContainerTrafficEncryption(IResolvable enableInterContainerTrafficEncryption) enableNetworkIsolation(Boolean enableNetworkIsolation) Sets the value ofCfnProcessingJob.NetworkConfigProperty.getEnableNetworkIsolation()enableNetworkIsolation(IResolvable enableNetworkIsolation) Sets the value ofCfnProcessingJob.NetworkConfigProperty.getEnableNetworkIsolation()vpcConfig(IResolvable vpcConfig) Sets the value ofCfnProcessingJob.NetworkConfigProperty.getVpcConfig()vpcConfig(CfnProcessingJob.VpcConfigProperty vpcConfig) Sets the value ofCfnProcessingJob.NetworkConfigProperty.getVpcConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enableInterContainerTrafficEncryption
@Stability(Stable) public CfnProcessingJob.NetworkConfigProperty.Builder enableInterContainerTrafficEncryption(Boolean enableInterContainerTrafficEncryption) - Parameters:
enableInterContainerTrafficEncryption- Whether to encrypt all communications between distributed processing jobs. ChooseTrueto encrypt communications. Encryption provides greater security for distributed processing jobs, but the processing might take longer.- Returns:
this
-
enableInterContainerTrafficEncryption
@Stability(Stable) public CfnProcessingJob.NetworkConfigProperty.Builder enableInterContainerTrafficEncryption(IResolvable enableInterContainerTrafficEncryption) - Parameters:
enableInterContainerTrafficEncryption- Whether to encrypt all communications between distributed processing jobs. ChooseTrueto encrypt communications. Encryption provides greater security for distributed processing jobs, but the processing might take longer.- Returns:
this
-
enableNetworkIsolation
@Stability(Stable) public CfnProcessingJob.NetworkConfigProperty.Builder enableNetworkIsolation(Boolean enableNetworkIsolation) Sets the value ofCfnProcessingJob.NetworkConfigProperty.getEnableNetworkIsolation()- Parameters:
enableNetworkIsolation- Whether to allow inbound and outbound network calls to and from the containers used for the processing job.- Returns:
this
-
enableNetworkIsolation
@Stability(Stable) public CfnProcessingJob.NetworkConfigProperty.Builder enableNetworkIsolation(IResolvable enableNetworkIsolation) Sets the value ofCfnProcessingJob.NetworkConfigProperty.getEnableNetworkIsolation()- Parameters:
enableNetworkIsolation- Whether to allow inbound and outbound network calls to and from the containers used for the processing job.- Returns:
this
-
vpcConfig
@Stability(Stable) public CfnProcessingJob.NetworkConfigProperty.Builder vpcConfig(IResolvable vpcConfig) Sets the value ofCfnProcessingJob.NetworkConfigProperty.getVpcConfig()- Parameters:
vpcConfig- Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to. You can control access to and from your resources by configuring a VPC. For more information, see Give SageMaker Access to Resources in your Amazon VPC .- Returns:
this
-
vpcConfig
@Stability(Stable) public CfnProcessingJob.NetworkConfigProperty.Builder vpcConfig(CfnProcessingJob.VpcConfigProperty vpcConfig) Sets the value ofCfnProcessingJob.NetworkConfigProperty.getVpcConfig()- Parameters:
vpcConfig- Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to. You can control access to and from your resources by configuring a VPC. For more information, see Give SageMaker Access to Resources in your Amazon VPC .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnProcessingJob.NetworkConfigProperty>- Returns:
- a new instance of
CfnProcessingJob.NetworkConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-