Class SageMakerHyperParameterTuningJobStateChange.VpcConfig.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.sagemaker.events.SageMakerHyperParameterTuningJobStateChange.VpcConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SageMakerHyperParameterTuningJobStateChange.VpcConfig>
- Enclosing interface:
SageMakerHyperParameterTuningJobStateChange.VpcConfig
@Stability(Experimental)
public static final class SageMakerHyperParameterTuningJobStateChange.VpcConfig.Builder
extends Object
implements software.amazon.jsii.Builder<SageMakerHyperParameterTuningJobStateChange.VpcConfig>
A builder for
SageMakerHyperParameterTuningJobStateChange.VpcConfig-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.securityGroupIds(List<String> securityGroupIds) Sets the value ofSageMakerHyperParameterTuningJobStateChange.VpcConfig.getSubnets()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
securityGroupIds
@Stability(Experimental) public SageMakerHyperParameterTuningJobStateChange.VpcConfig.Builder securityGroupIds(List<String> securityGroupIds) - Parameters:
securityGroupIds- SecurityGroupIds property. Specify an array of string values to match this event if the actual value of SecurityGroupIds is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
subnets
@Stability(Experimental) public SageMakerHyperParameterTuningJobStateChange.VpcConfig.Builder subnets(List<String> subnets) Sets the value ofSageMakerHyperParameterTuningJobStateChange.VpcConfig.getSubnets()- Parameters:
subnets- Subnets property. Specify an array of string values to match this event if the actual value of Subnets is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SageMakerHyperParameterTuningJobStateChange.VpcConfig>- Returns:
- a new instance of
SageMakerHyperParameterTuningJobStateChange.VpcConfig - Throws:
NullPointerException- if any required attribute was not provided
-