Interface DocumentClassificationConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DocumentClassificationConfig.Builder,
,DocumentClassificationConfig> SdkBuilder<DocumentClassificationConfig.Builder,
,DocumentClassificationConfig> SdkPojo
- Enclosing class:
DocumentClassificationConfig
@Mutable
@NotThreadSafe
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_CLASS
orMULTI_LABEL
.mode
(DocumentClassifierMode mode) Classification mode indicates whether the documents areMULTI_CLASS
orMULTI_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, sdkFieldNameToField, sdkFields
-
Method Details
-
mode
Classification mode indicates whether the documents are
MULTI_CLASS
orMULTI_LABEL
.- Parameters:
mode
- Classification mode indicates whether the documents areMULTI_CLASS
orMULTI_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_CLASS
orMULTI_LABEL
.- Parameters:
mode
- Classification mode indicates whether the documents areMULTI_CLASS
orMULTI_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.
-