Class SageMakerHyperParameterTuningJobStateChange.TrainingJobStatusCounters.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.sagemaker.events.SageMakerHyperParameterTuningJobStateChange.TrainingJobStatusCounters.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SageMakerHyperParameterTuningJobStateChange.TrainingJobStatusCounters>
- Enclosing interface:
SageMakerHyperParameterTuningJobStateChange.TrainingJobStatusCounters
@Stability(Experimental)
public static final class SageMakerHyperParameterTuningJobStateChange.TrainingJobStatusCounters.Builder
extends Object
implements software.amazon.jsii.Builder<SageMakerHyperParameterTuningJobStateChange.TrainingJobStatusCounters>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.inProgress(List<String> inProgress) nonRetryableError(List<String> nonRetryableError) retryableError(List<String> retryableError)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
completed
@Stability(Experimental) public SageMakerHyperParameterTuningJobStateChange.TrainingJobStatusCounters.Builder completed(List<String> completed) Sets the value ofSageMakerHyperParameterTuningJobStateChange.TrainingJobStatusCounters.getCompleted()- Parameters:
completed- Completed property. Specify an array of string values to match this event if the actual value of Completed is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
inProgress
@Stability(Experimental) public SageMakerHyperParameterTuningJobStateChange.TrainingJobStatusCounters.Builder inProgress(List<String> inProgress) Sets the value ofSageMakerHyperParameterTuningJobStateChange.TrainingJobStatusCounters.getInProgress()- Parameters:
inProgress- InProgress property. Specify an array of string values to match this event if the actual value of InProgress is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
nonRetryableError
@Stability(Experimental) public SageMakerHyperParameterTuningJobStateChange.TrainingJobStatusCounters.Builder nonRetryableError(List<String> nonRetryableError) Sets the value ofSageMakerHyperParameterTuningJobStateChange.TrainingJobStatusCounters.getNonRetryableError()- Parameters:
nonRetryableError- NonRetryableError property. Specify an array of string values to match this event if the actual value of NonRetryableError is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
retryableError
@Stability(Experimental) public SageMakerHyperParameterTuningJobStateChange.TrainingJobStatusCounters.Builder retryableError(List<String> retryableError) Sets the value ofSageMakerHyperParameterTuningJobStateChange.TrainingJobStatusCounters.getRetryableError()- Parameters:
retryableError- RetryableError property. Specify an array of string values to match this event if the actual value of RetryableError is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
stopped
@Stability(Experimental) public SageMakerHyperParameterTuningJobStateChange.TrainingJobStatusCounters.Builder stopped(List<String> stopped) Sets the value ofSageMakerHyperParameterTuningJobStateChange.TrainingJobStatusCounters.getStopped()- Parameters:
stopped- Stopped property. Specify an array of string values to match this event if the actual value of Stopped is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
@Stability(Experimental) public SageMakerHyperParameterTuningJobStateChange.TrainingJobStatusCounters build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SageMakerHyperParameterTuningJobStateChange.TrainingJobStatusCounters>- Returns:
- a new instance of
SageMakerHyperParameterTuningJobStateChange.TrainingJobStatusCounters - Throws:
NullPointerException- if any required attribute was not provided
-