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 interfaceExpenseDetection.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExpenseDetection.Builderbuilder()Floatconfidence()The confidence in detection, as a percentagebooleanequals(Object obj)booleanequalsBySdkFields(Object obj)Geometrygeometry()Returns the value of the Geometry property for this object.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ExpenseDetection.Builder>serializableBuilderClass()Stringtext()The word or line of text recognized by Amazon TextractExpenseDetection.BuildertoBuilder()StringtoString()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:
toBuilderin 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:
equalsBySdkFieldsin 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-