Class CfnMonitoringSchedulePropsMixin.VpcConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnMonitoringSchedulePropsMixin.VpcConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMonitoringSchedulePropsMixin.VpcConfigProperty>
- Enclosing interface:
CfnMonitoringSchedulePropsMixin.VpcConfigProperty
@Stability(Stable)
public static final class CfnMonitoringSchedulePropsMixin.VpcConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMonitoringSchedulePropsMixin.VpcConfigProperty>
A builder for
CfnMonitoringSchedulePropsMixin.VpcConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnMonitoringSchedulePropsMixin.VpcConfigProperty.getSecurityGroupIds()Sets the value ofCfnMonitoringSchedulePropsMixin.VpcConfigProperty.getSubnets()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
securityGroupIds
@Stability(Stable) public CfnMonitoringSchedulePropsMixin.VpcConfigProperty.Builder securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnMonitoringSchedulePropsMixin.VpcConfigProperty.getSecurityGroupIds()- Parameters:
securityGroupIds- The VPC security group IDs, in the formsg-xxxxxxxx. Specify the security groups for the VPC that is specified in theSubnetsfield.- Returns:
this
-
subnets
@Stability(Stable) public CfnMonitoringSchedulePropsMixin.VpcConfigProperty.Builder subnets(List<String> subnets) Sets the value ofCfnMonitoringSchedulePropsMixin.VpcConfigProperty.getSubnets()- Parameters:
subnets- The ID of the subnets in the VPC to which you want to connect your training job or model. For information about the availability of specific instance types, see Supported Instance Types and Availability Zones .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMonitoringSchedulePropsMixin.VpcConfigProperty>- Returns:
- a new instance of
CfnMonitoringSchedulePropsMixin.VpcConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-