Interface PageClassification.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PageClassification.Builder,,PageClassification> SdkBuilder<PageClassification.Builder,,PageClassification> SdkPojo
- Enclosing class:
PageClassification
-
Method Summary
Modifier and TypeMethodDescriptionpageNumber(Collection<Prediction> pageNumber) The page number the value was detected on, relative to Amazon Textract's starting position.pageNumber(Consumer<Prediction.Builder>... pageNumber) The page number the value was detected on, relative to Amazon Textract's starting position.pageNumber(Prediction... pageNumber) The page number the value was detected on, relative to Amazon Textract's starting position.pageType(Collection<Prediction> pageType) The class, or document type, assigned to a detected Page object.pageType(Consumer<Prediction.Builder>... pageType) The class, or document type, assigned to a detected Page object.pageType(Prediction... pageType) The class, or document type, assigned to a detected Page object.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
-
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
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
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 topageType(List<Prediction>).- 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:
-
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
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
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 topageNumber(List<Prediction>).- 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:
-