Class AutoMLJobCompletionCriteria
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.AutoMLJobCompletionCriteria
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AutoMLJobCompletionCriteria.Builder,AutoMLJobCompletionCriteria>
@Generated("software.amazon.awssdk:codegen") public final class AutoMLJobCompletionCriteria extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AutoMLJobCompletionCriteria.Builder,AutoMLJobCompletionCriteria>
How long a job is allowed to run, or how many candidates a job is allowed to generate.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAutoMLJobCompletionCriteria.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AutoMLJobCompletionCriteria.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxAutoMLJobRuntimeInSeconds()The maximum runtime, in seconds, an AutoML job has to complete.IntegermaxCandidates()The maximum number of times a training job is allowed to run.IntegermaxRuntimePerTrainingJobInSeconds()The maximum time, in seconds, that each training job executed inside hyperparameter tuning is allowed to run as part of a hyperparameter tuning job.List<SdkField<?>>sdkFields()static Class<? extends AutoMLJobCompletionCriteria.Builder>serializableBuilderClass()AutoMLJobCompletionCriteria.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
maxCandidates
public final Integer maxCandidates()
The maximum number of times a training job is allowed to run.
For text and image classification, time-series forecasting, as well as text generation (LLMs fine-tuning) problem types, the supported value is 1. For tabular problem types, the maximum value is 750.
- Returns:
- The maximum number of times a training job is allowed to run.
For text and image classification, time-series forecasting, as well as text generation (LLMs fine-tuning) problem types, the supported value is 1. For tabular problem types, the maximum value is 750.
-
maxRuntimePerTrainingJobInSeconds
public final Integer maxRuntimePerTrainingJobInSeconds()
The maximum time, in seconds, that each training job executed inside hyperparameter tuning is allowed to run as part of a hyperparameter tuning job. For more information, see the StoppingCondition used by the CreateHyperParameterTuningJob action.
For job V2s (jobs created by calling
CreateAutoMLJobV2), this field controls the runtime of the job candidate.- Returns:
- The maximum time, in seconds, that each training job executed inside hyperparameter tuning is allowed to
run as part of a hyperparameter tuning job. For more information, see the StoppingCondition used by the CreateHyperParameterTuningJob action.
For job V2s (jobs created by calling
CreateAutoMLJobV2), this field controls the runtime of the job candidate.
-
maxAutoMLJobRuntimeInSeconds
public final Integer maxAutoMLJobRuntimeInSeconds()
The maximum runtime, in seconds, an AutoML job has to complete.
If an AutoML job exceeds the maximum runtime, the job is stopped automatically and its processing is ended gracefully. The AutoML job identifies the best model whose training was completed and marks it as the best-performing model. Any unfinished steps of the job, such as automatic one-click Autopilot model deployment, are not completed.
- Returns:
- The maximum runtime, in seconds, an AutoML job has to complete.
If an AutoML job exceeds the maximum runtime, the job is stopped automatically and its processing is ended gracefully. The AutoML job identifies the best model whose training was completed and marks it as the best-performing model. Any unfinished steps of the job, such as automatic one-click Autopilot model deployment, are not completed.
-
toBuilder
public AutoMLJobCompletionCriteria.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AutoMLJobCompletionCriteria.Builder,AutoMLJobCompletionCriteria>
-
builder
public static AutoMLJobCompletionCriteria.Builder builder()
-
serializableBuilderClass
public static Class<? extends AutoMLJobCompletionCriteria.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-