Class ExpenseDetection
- java.lang.Object
-
- software.amazon.awssdk.services.textract.model.ExpenseDetection
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ExpenseDetection.Builder,ExpenseDetection>
@Generated("software.amazon.awssdk:codegen") public final class ExpenseDetection extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ExpenseDetection.Builder,ExpenseDetection>
An object used to store information about the Value or Label detected by Amazon Textract.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ExpenseDetection.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExpenseDetection.Builder
builder()
Float
confidence()
The confidence in detection, as a percentageboolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
Geometry
geometry()
Returns the value of the Geometry property for this object.<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
List<SdkField<?>>
sdkFields()
static Class<? extends ExpenseDetection.Builder>
serializableBuilderClass()
String
text()
The word or line of text recognized by Amazon TextractExpenseDetection.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
text
public final String text()
The word or line of text recognized by Amazon Textract
- Returns:
- The word or line of text recognized by Amazon Textract
-
geometry
public final Geometry geometry()
Returns the value of the Geometry property for this object.- Returns:
- The value of the Geometry property for this object.
-
confidence
public final Float confidence()
The confidence in detection, as a percentage
- Returns:
- The confidence in detection, as a percentage
-
toBuilder
public ExpenseDetection.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<ExpenseDetection.Builder,ExpenseDetection>
-
builder
public static ExpenseDetection.Builder builder()
-
serializableBuilderClass
public static Class<? extends ExpenseDetection.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-