@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExpenseType extends Object implements Serializable, Cloneable, StructuredPojo
An object used to store information about the Type detected by Amazon Textract.
| Constructor and Description |
|---|
ExpenseType() |
| Modifier and Type | Method and Description |
|---|---|
ExpenseType |
clone() |
boolean |
equals(Object obj) |
Float |
getConfidence()
The confidence of accuracy, as a percentage.
|
String |
getText()
The word or line of text detected by Amazon Textract.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setConfidence(Float confidence)
The confidence of accuracy, as a percentage.
|
void |
setText(String text)
The word or line of text detected by Amazon Textract.
|
String |
toString()
Returns a string representation of this object.
|
ExpenseType |
withConfidence(Float confidence)
The confidence of accuracy, as a percentage.
|
ExpenseType |
withText(String text)
The word or line of text detected by Amazon Textract.
|
public void setText(String text)
The word or line of text detected by Amazon Textract.
text - The word or line of text detected by Amazon Textract.public String getText()
The word or line of text detected by Amazon Textract.
public ExpenseType withText(String text)
The word or line of text detected by Amazon Textract.
text - The word or line of text detected by Amazon Textract.public void setConfidence(Float confidence)
The confidence of accuracy, as a percentage.
confidence - The confidence of accuracy, as a percentage.public Float getConfidence()
The confidence of accuracy, as a percentage.
public ExpenseType withConfidence(Float confidence)
The confidence of accuracy, as a percentage.
confidence - The confidence of accuracy, as a percentage.public String toString()
toString in class ObjectObject.toString()public ExpenseType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2025. All rights reserved.