Interface TextClassificationJobConfig.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<TextClassificationJobConfig.Builder,TextClassificationJobConfig>
,SdkBuilder<TextClassificationJobConfig.Builder,TextClassificationJobConfig>
,SdkPojo
- Enclosing class:
- TextClassificationJobConfig
public static interface TextClassificationJobConfig.Builder extends SdkPojo, CopyableBuilder<TextClassificationJobConfig.Builder,TextClassificationJobConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default TextClassificationJobConfig.Builder
completionCriteria(Consumer<AutoMLJobCompletionCriteria.Builder> completionCriteria)
How long a job is allowed to run, or how many candidates a job is allowed to generate.TextClassificationJobConfig.Builder
completionCriteria(AutoMLJobCompletionCriteria completionCriteria)
How long a job is allowed to run, or how many candidates a job is allowed to generate.TextClassificationJobConfig.Builder
contentColumn(String contentColumn)
The name of the column used to provide the sentences to be classified.TextClassificationJobConfig.Builder
targetLabelColumn(String targetLabelColumn)
The name of the column used to provide the class labels.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
completionCriteria
TextClassificationJobConfig.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 TextClassificationJobConfig.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.Builder
avoiding the need to create one manually viaAutoMLJobCompletionCriteria.builder()
.When the
Consumer
completes,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:
completionCriteria(AutoMLJobCompletionCriteria)
-
contentColumn
TextClassificationJobConfig.Builder contentColumn(String contentColumn)
The name of the column used to provide the sentences to be classified. It should not be the same as the target column.
- Parameters:
contentColumn
- The name of the column used to provide the sentences to be classified. It should not be the same as the target column.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetLabelColumn
TextClassificationJobConfig.Builder targetLabelColumn(String targetLabelColumn)
The name of the column used to provide the class labels. It should not be same as the content column.
- Parameters:
targetLabelColumn
- The name of the column used to provide the class labels. It should not be same as the content column.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-