Interface DocumentClass.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DocumentClass.Builder,DocumentClass>,SdkBuilder<DocumentClass.Builder,DocumentClass>,SdkPojo
- Enclosing class:
- DocumentClass
public static interface DocumentClass.Builder extends SdkPojo, CopyableBuilder<DocumentClass.Builder,DocumentClass>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DocumentClass.Buildername(String name)The name of the class.DocumentClass.Builderpage(Integer page)Page number in the input document.DocumentClass.Builderscore(Float score)The confidence score that Amazon Comprehend has this class correctly attributed.-
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
-
name
DocumentClass.Builder name(String name)
The name of the class.
- Parameters:
name- The name of the class.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
score
DocumentClass.Builder score(Float score)
The confidence score that Amazon Comprehend has this class correctly attributed.
- Parameters:
score- The confidence score that Amazon Comprehend has this class correctly attributed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
page
DocumentClass.Builder page(Integer page)
Page number in the input document. This field is present in the response only if your request includes the
Byteparameter.- Parameters:
page- Page number in the input document. This field is present in the response only if your request includes theByteparameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-