Interface ExpenseDetection.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ExpenseDetection.Builder,
,ExpenseDetection> SdkBuilder<ExpenseDetection.Builder,
,ExpenseDetection> SdkPojo
- Enclosing class:
ExpenseDetection
public static interface ExpenseDetection.Builder
extends SdkPojo, CopyableBuilder<ExpenseDetection.Builder,ExpenseDetection>
-
Method Summary
Modifier and TypeMethodDescriptionconfidence
(Float confidence) The confidence in detection, as a percentagedefault ExpenseDetection.Builder
geometry
(Consumer<Geometry.Builder> geometry) Sets the value of the Geometry property for this object.Sets the value of the Geometry property for this object.The word or line of text recognized by Amazon TextractMethods 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 Details
-
text
The word or line of text recognized by Amazon Textract
- Parameters:
text
- The word or line of text recognized by Amazon Textract- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
geometry
Sets the value of the Geometry property for this object.- Parameters:
geometry
- The new value for the Geometry property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
geometry
Sets the value of the Geometry property for this object. This is a convenience method that creates an instance of theGeometry.Builder
avoiding the need to create one manually viaGeometry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togeometry(Geometry)
.- Parameters:
geometry
- a consumer that will call methods onGeometry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
confidence
The confidence in detection, as a percentage
- Parameters:
confidence
- The confidence in detection, as a percentage- Returns:
- Returns a reference to this object so that method calls can be chained together.
-