Class SageMakerHyperParameterTuningJobStateChange.ResourceConfig.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.sagemaker.events.SageMakerHyperParameterTuningJobStateChange.ResourceConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SageMakerHyperParameterTuningJobStateChange.ResourceConfig>
- Enclosing interface:
SageMakerHyperParameterTuningJobStateChange.ResourceConfig
@Stability(Experimental)
public static final class SageMakerHyperParameterTuningJobStateChange.ResourceConfig.Builder
extends Object
implements software.amazon.jsii.Builder<SageMakerHyperParameterTuningJobStateChange.ResourceConfig>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.instanceCount(List<String> instanceCount) instanceType(List<String> instanceType) volumeKmsKeyId(List<String> volumeKmsKeyId) volumeSizeInGb(List<String> volumeSizeInGb)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
instanceCount
@Stability(Experimental) public SageMakerHyperParameterTuningJobStateChange.ResourceConfig.Builder instanceCount(List<String> instanceCount) - Parameters:
instanceCount- InstanceCount property. Specify an array of string values to match this event if the actual value of InstanceCount is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
instanceType
@Stability(Experimental) public SageMakerHyperParameterTuningJobStateChange.ResourceConfig.Builder instanceType(List<String> instanceType) - Parameters:
instanceType- InstanceType property. Specify an array of string values to match this event if the actual value of InstanceType is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
volumeKmsKeyId
@Stability(Experimental) public SageMakerHyperParameterTuningJobStateChange.ResourceConfig.Builder volumeKmsKeyId(List<String> volumeKmsKeyId) - Parameters:
volumeKmsKeyId- VolumeKmsKeyId property. Specify an array of string values to match this event if the actual value of VolumeKmsKeyId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
volumeSizeInGb
@Stability(Experimental) public SageMakerHyperParameterTuningJobStateChange.ResourceConfig.Builder volumeSizeInGb(List<String> volumeSizeInGb) - Parameters:
volumeSizeInGb- VolumeSizeInGB property. Specify an array of string values to match this event if the actual value of VolumeSizeInGB 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.ResourceConfig>- Returns:
- a new instance of
SageMakerHyperParameterTuningJobStateChange.ResourceConfig - Throws:
NullPointerException- if any required attribute was not provided
-