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