Interface ImageClassificationJobConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ImageClassificationJobConfig.Builder,,ImageClassificationJobConfig> SdkBuilder<ImageClassificationJobConfig.Builder,,ImageClassificationJobConfig> SdkPojo
- Enclosing class:
ImageClassificationJobConfig
public static interface ImageClassificationJobConfig.Builder
extends SdkPojo, CopyableBuilder<ImageClassificationJobConfig.Builder,ImageClassificationJobConfig>
-
Method Summary
Modifier and TypeMethodDescriptioncompletionCriteria(Consumer<AutoMLJobCompletionCriteria.Builder> completionCriteria) How long a job is allowed to run, or how many candidates a job is allowed to generate.completionCriteria(AutoMLJobCompletionCriteria completionCriteria) How long a job is allowed to run, or how many candidates a job is allowed to generate.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
completionCriteria
ImageClassificationJobConfig.Builder completionCriteria(AutoMLJobCompletionCriteria completionCriteria) How long a job is allowed to run, or how many candidates a job is allowed to generate.
- Parameters:
completionCriteria- How long a job is allowed to run, or how many candidates a job is allowed to generate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
completionCriteria
default ImageClassificationJobConfig.Builder completionCriteria(Consumer<AutoMLJobCompletionCriteria.Builder> completionCriteria) How long a job is allowed to run, or how many candidates a job is allowed to generate.
This is a convenience method that creates an instance of theAutoMLJobCompletionCriteria.Builderavoiding the need to create one manually viaAutoMLJobCompletionCriteria.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocompletionCriteria(AutoMLJobCompletionCriteria).- Parameters:
completionCriteria- a consumer that will call methods onAutoMLJobCompletionCriteria.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-