Interface DocumentClassificationConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DocumentClassificationConfig.Builder,DocumentClassificationConfig>,SdkBuilder<DocumentClassificationConfig.Builder,DocumentClassificationConfig>,SdkPojo
- Enclosing class:
- DocumentClassificationConfig
public static interface DocumentClassificationConfig.Builder extends SdkPojo, CopyableBuilder<DocumentClassificationConfig.Builder,DocumentClassificationConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DocumentClassificationConfig.Builderlabels(String... labels)One or more labels to associate with the custom classifier.DocumentClassificationConfig.Builderlabels(Collection<String> labels)One or more labels to associate with the custom classifier.DocumentClassificationConfig.Buildermode(String mode)Classification mode indicates whether the documents areMULTI_CLASSorMULTI_LABEL.DocumentClassificationConfig.Buildermode(DocumentClassifierMode mode)Classification mode indicates whether the documents areMULTI_CLASSorMULTI_LABEL.-
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, sdkFields
-
-
-
-
Method Detail
-
mode
DocumentClassificationConfig.Builder mode(String mode)
Classification mode indicates whether the documents are
MULTI_CLASSorMULTI_LABEL.- Parameters:
mode- Classification mode indicates whether the documents areMULTI_CLASSorMULTI_LABEL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DocumentClassifierMode,DocumentClassifierMode
-
mode
DocumentClassificationConfig.Builder mode(DocumentClassifierMode mode)
Classification mode indicates whether the documents are
MULTI_CLASSorMULTI_LABEL.- Parameters:
mode- Classification mode indicates whether the documents areMULTI_CLASSorMULTI_LABEL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DocumentClassifierMode,DocumentClassifierMode
-
labels
DocumentClassificationConfig.Builder labels(Collection<String> labels)
One or more labels to associate with the custom classifier.
- Parameters:
labels- One or more labels to associate with the custom classifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labels
DocumentClassificationConfig.Builder labels(String... labels)
One or more labels to associate with the custom classifier.
- Parameters:
labels- One or more labels to associate with the custom classifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-