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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ExpenseDetection.Builder
confidence(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.ExpenseDetection.Builder
geometry(Geometry geometry)
Sets the value of the Geometry property for this object.ExpenseDetection.Builder
text(String text)
The word or line of text recognized by Amazon Textract-
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
-
text
ExpenseDetection.Builder text(String 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
ExpenseDetection.Builder geometry(Geometry 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
default ExpenseDetection.Builder geometry(Consumer<Geometry.Builder> 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:
geometry(Geometry)
-
confidence
ExpenseDetection.Builder confidence(Float 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.
-
-