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
Modifier and TypeMethodDescriptionOne or more labels to associate with the custom classifier.labels(Collection<String> labels) One or more labels to associate with the custom classifier.Classification mode indicates whether the documents areMULTI_CLASSorMULTI_LABEL.mode(DocumentClassifierMode mode) Classification mode indicates whether the documents areMULTI_CLASSorMULTI_LABEL.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, sdkFieldNameToField, sdkFields
-
Method Details
-
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:
-
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:
-
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
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.
-