Class SageMakerTrainingJobStateChange.ResourceConfig.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.sagemaker.events.SageMakerTrainingJobStateChange.ResourceConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SageMakerTrainingJobStateChange.ResourceConfig>
- Enclosing interface:
SageMakerTrainingJobStateChange.ResourceConfig
@Stability(Experimental)
public static final class SageMakerTrainingJobStateChange.ResourceConfig.Builder
extends Object
implements software.amazon.jsii.Builder<SageMakerTrainingJobStateChange.ResourceConfig>
A builder for
SageMakerTrainingJobStateChange.ResourceConfig-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.instanceCount(List<String> instanceCount) Sets the value ofSageMakerTrainingJobStateChange.ResourceConfig.getInstanceCount()instanceType(List<String> instanceType) Sets the value ofSageMakerTrainingJobStateChange.ResourceConfig.getInstanceType()volumeSizeInGb(List<String> volumeSizeInGb) Sets the value ofSageMakerTrainingJobStateChange.ResourceConfig.getVolumeSizeInGb()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
instanceCount
@Stability(Experimental) public SageMakerTrainingJobStateChange.ResourceConfig.Builder instanceCount(List<String> instanceCount) Sets the value ofSageMakerTrainingJobStateChange.ResourceConfig.getInstanceCount()- 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 SageMakerTrainingJobStateChange.ResourceConfig.Builder instanceType(List<String> instanceType) Sets the value ofSageMakerTrainingJobStateChange.ResourceConfig.getInstanceType()- 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
-
volumeSizeInGb
@Stability(Experimental) public SageMakerTrainingJobStateChange.ResourceConfig.Builder volumeSizeInGb(List<String> volumeSizeInGb) Sets the value ofSageMakerTrainingJobStateChange.ResourceConfig.getVolumeSizeInGb()- 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<SageMakerTrainingJobStateChange.ResourceConfig>- Returns:
- a new instance of
SageMakerTrainingJobStateChange.ResourceConfig - Throws:
NullPointerException- if any required attribute was not provided
-