Class CfnMonitoringSchedule.NetworkConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnMonitoringSchedule.NetworkConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMonitoringSchedule.NetworkConfigProperty>
- Enclosing interface:
- CfnMonitoringSchedule.NetworkConfigProperty
@Stability(Stable)
public static final class CfnMonitoringSchedule.NetworkConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMonitoringSchedule.NetworkConfigProperty>
A builder for
CfnMonitoringSchedule.NetworkConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.enableInterContainerTrafficEncryption
(Boolean enableInterContainerTrafficEncryption) enableInterContainerTrafficEncryption
(IResolvable enableInterContainerTrafficEncryption) enableNetworkIsolation
(Boolean enableNetworkIsolation) Sets the value ofCfnMonitoringSchedule.NetworkConfigProperty.getEnableNetworkIsolation()
enableNetworkIsolation
(IResolvable enableNetworkIsolation) Sets the value ofCfnMonitoringSchedule.NetworkConfigProperty.getEnableNetworkIsolation()
vpcConfig
(IResolvable vpcConfig) Sets the value ofCfnMonitoringSchedule.NetworkConfigProperty.getVpcConfig()
vpcConfig
(CfnMonitoringSchedule.VpcConfigProperty vpcConfig) Sets the value ofCfnMonitoringSchedule.NetworkConfigProperty.getVpcConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enableInterContainerTrafficEncryption
@Stability(Stable) public CfnMonitoringSchedule.NetworkConfigProperty.Builder enableInterContainerTrafficEncryption(Boolean enableInterContainerTrafficEncryption) Sets the value ofCfnMonitoringSchedule.NetworkConfigProperty.getEnableInterContainerTrafficEncryption()
- Parameters:
enableInterContainerTrafficEncryption
- Whether to encrypt all communications between distributed processing jobs. ChooseTrue
to encrypt communications. Encryption provides greater security for distributed processing jobs, but the processing might take longer.- Returns:
this
-
enableInterContainerTrafficEncryption
@Stability(Stable) public CfnMonitoringSchedule.NetworkConfigProperty.Builder enableInterContainerTrafficEncryption(IResolvable enableInterContainerTrafficEncryption) Sets the value ofCfnMonitoringSchedule.NetworkConfigProperty.getEnableInterContainerTrafficEncryption()
- Parameters:
enableInterContainerTrafficEncryption
- Whether to encrypt all communications between distributed processing jobs. ChooseTrue
to encrypt communications. Encryption provides greater security for distributed processing jobs, but the processing might take longer.- Returns:
this
-
enableNetworkIsolation
@Stability(Stable) public CfnMonitoringSchedule.NetworkConfigProperty.Builder enableNetworkIsolation(Boolean enableNetworkIsolation) Sets the value ofCfnMonitoringSchedule.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 CfnMonitoringSchedule.NetworkConfigProperty.Builder enableNetworkIsolation(IResolvable enableNetworkIsolation) Sets the value ofCfnMonitoringSchedule.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 CfnMonitoringSchedule.NetworkConfigProperty.Builder vpcConfig(IResolvable vpcConfig) Sets the value ofCfnMonitoringSchedule.NetworkConfigProperty.getVpcConfig()
- Parameters:
vpcConfig
- Specifies a VPC that your training jobs and hosted models have access to. Control access to and from your training and model containers by configuring the VPC. For more information, see Protect Endpoints by Using an Amazon Virtual Private Cloud and Protect Training Jobs by Using an Amazon Virtual Private Cloud .- Returns:
this
-
vpcConfig
@Stability(Stable) public CfnMonitoringSchedule.NetworkConfigProperty.Builder vpcConfig(CfnMonitoringSchedule.VpcConfigProperty vpcConfig) Sets the value ofCfnMonitoringSchedule.NetworkConfigProperty.getVpcConfig()
- Parameters:
vpcConfig
- Specifies a VPC that your training jobs and hosted models have access to. Control access to and from your training and model containers by configuring the VPC. For more information, see Protect Endpoints by Using an Amazon Virtual Private Cloud and Protect Training Jobs by Using an Amazon Virtual Private Cloud .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnMonitoringSchedule.NetworkConfigProperty>
- Returns:
- a new instance of
CfnMonitoringSchedule.NetworkConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-