Interface PageClassification.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PageClassification.Builder,PageClassification>,SdkBuilder<PageClassification.Builder,PageClassification>,SdkPojo
- Enclosing class:
- PageClassification
@Mutable @NotThreadSafe public static interface PageClassification.Builder extends SdkPojo, CopyableBuilder<PageClassification.Builder,PageClassification>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PageClassification.BuilderpageNumber(Collection<Prediction> pageNumber)The page number the value was detected on, relative to Amazon Textract's starting position.PageClassification.BuilderpageNumber(Consumer<Prediction.Builder>... pageNumber)The page number the value was detected on, relative to Amazon Textract's starting position.PageClassification.BuilderpageNumber(Prediction... pageNumber)The page number the value was detected on, relative to Amazon Textract's starting position.PageClassification.BuilderpageType(Collection<Prediction> pageType)The class, or document type, assigned to a detected Page object.PageClassification.BuilderpageType(Consumer<Prediction.Builder>... pageType)The class, or document type, assigned to a detected Page object.PageClassification.BuilderpageType(Prediction... pageType)The class, or document type, assigned to a detected Page object.-
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 Detail
-
pageType
PageClassification.Builder pageType(Collection<Prediction> pageType)
The class, or document type, assigned to a detected Page object. The class, or document type, assigned to a detected Page object.
- Parameters:
pageType- The class, or document type, assigned to a detected Page object. The class, or document type, assigned to a detected Page object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pageType
PageClassification.Builder pageType(Prediction... pageType)
The class, or document type, assigned to a detected Page object. The class, or document type, assigned to a detected Page object.
- Parameters:
pageType- The class, or document type, assigned to a detected Page object. The class, or document type, assigned to a detected Page object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pageType
PageClassification.Builder pageType(Consumer<Prediction.Builder>... pageType)
The class, or document type, assigned to a detected Page object. The class, or document type, assigned to a detected Page object.
This is a convenience method that creates an instance of thePrediction.Builderavoiding the need to create one manually viaPrediction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#pageType(List.) - Parameters:
pageType- a consumer that will call methods onPrediction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#pageType(java.util.Collection)
-
pageNumber
PageClassification.Builder pageNumber(Collection<Prediction> pageNumber)
The page number the value was detected on, relative to Amazon Textract's starting position.
- Parameters:
pageNumber- The page number the value was detected on, relative to Amazon Textract's starting position.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pageNumber
PageClassification.Builder pageNumber(Prediction... pageNumber)
The page number the value was detected on, relative to Amazon Textract's starting position.
- Parameters:
pageNumber- The page number the value was detected on, relative to Amazon Textract's starting position.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pageNumber
PageClassification.Builder pageNumber(Consumer<Prediction.Builder>... pageNumber)
The page number the value was detected on, relative to Amazon Textract's starting position.
This is a convenience method that creates an instance of thePrediction.Builderavoiding the need to create one manually viaPrediction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#pageNumber(List.) - Parameters:
pageNumber- a consumer that will call methods onPrediction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#pageNumber(java.util.Collection)
-
-