@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExpenseField extends Object implements Serializable, Cloneable, StructuredPojo
Breakdown of detected information, seperated into the catagories Type, LabelDetection, and ValueDetection
Constructor and Description |
---|
ExpenseField() |
Modifier and Type | Method and Description |
---|---|
ExpenseField |
clone() |
boolean |
equals(Object obj) |
ExpenseCurrency |
getCurrency()
Shows the kind of currency, both the code and confidence associated with any monatary value detected.
|
List<ExpenseGroupProperty> |
getGroupProperties()
Shows which group a response object belongs to, such as whether an address line belongs to the vendor's address
or the recipent's address.
|
ExpenseDetection |
getLabelDetection()
The explicitly stated label of a detected element.
|
Integer |
getPageNumber()
The page number the value was detected on.
|
ExpenseType |
getType()
The implied label of a detected element.
|
ExpenseDetection |
getValueDetection()
The value of a detected element.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCurrency(ExpenseCurrency currency)
Shows the kind of currency, both the code and confidence associated with any monatary value detected.
|
void |
setGroupProperties(Collection<ExpenseGroupProperty> groupProperties)
Shows which group a response object belongs to, such as whether an address line belongs to the vendor's address
or the recipent's address.
|
void |
setLabelDetection(ExpenseDetection labelDetection)
The explicitly stated label of a detected element.
|
void |
setPageNumber(Integer pageNumber)
The page number the value was detected on.
|
void |
setType(ExpenseType type)
The implied label of a detected element.
|
void |
setValueDetection(ExpenseDetection valueDetection)
The value of a detected element.
|
String |
toString()
Returns a string representation of this object.
|
ExpenseField |
withCurrency(ExpenseCurrency currency)
Shows the kind of currency, both the code and confidence associated with any monatary value detected.
|
ExpenseField |
withGroupProperties(Collection<ExpenseGroupProperty> groupProperties)
Shows which group a response object belongs to, such as whether an address line belongs to the vendor's address
or the recipent's address.
|
ExpenseField |
withGroupProperties(ExpenseGroupProperty... groupProperties)
Shows which group a response object belongs to, such as whether an address line belongs to the vendor's address
or the recipent's address.
|
ExpenseField |
withLabelDetection(ExpenseDetection labelDetection)
The explicitly stated label of a detected element.
|
ExpenseField |
withPageNumber(Integer pageNumber)
The page number the value was detected on.
|
ExpenseField |
withType(ExpenseType type)
The implied label of a detected element.
|
ExpenseField |
withValueDetection(ExpenseDetection valueDetection)
The value of a detected element.
|
public void setType(ExpenseType type)
The implied label of a detected element. Present alongside LabelDetection for explicit elements.
type
- The implied label of a detected element. Present alongside LabelDetection for explicit elements.public ExpenseType getType()
The implied label of a detected element. Present alongside LabelDetection for explicit elements.
public ExpenseField withType(ExpenseType type)
The implied label of a detected element. Present alongside LabelDetection for explicit elements.
type
- The implied label of a detected element. Present alongside LabelDetection for explicit elements.public void setLabelDetection(ExpenseDetection labelDetection)
The explicitly stated label of a detected element.
labelDetection
- The explicitly stated label of a detected element.public ExpenseDetection getLabelDetection()
The explicitly stated label of a detected element.
public ExpenseField withLabelDetection(ExpenseDetection labelDetection)
The explicitly stated label of a detected element.
labelDetection
- The explicitly stated label of a detected element.public void setValueDetection(ExpenseDetection valueDetection)
The value of a detected element. Present in explicit and implicit elements.
valueDetection
- The value of a detected element. Present in explicit and implicit elements.public ExpenseDetection getValueDetection()
The value of a detected element. Present in explicit and implicit elements.
public ExpenseField withValueDetection(ExpenseDetection valueDetection)
The value of a detected element. Present in explicit and implicit elements.
valueDetection
- The value of a detected element. Present in explicit and implicit elements.public void setPageNumber(Integer pageNumber)
The page number the value was detected on.
pageNumber
- The page number the value was detected on.public Integer getPageNumber()
The page number the value was detected on.
public ExpenseField withPageNumber(Integer pageNumber)
The page number the value was detected on.
pageNumber
- The page number the value was detected on.public void setCurrency(ExpenseCurrency currency)
Shows the kind of currency, both the code and confidence associated with any monatary value detected.
currency
- Shows the kind of currency, both the code and confidence associated with any monatary value detected.public ExpenseCurrency getCurrency()
Shows the kind of currency, both the code and confidence associated with any monatary value detected.
public ExpenseField withCurrency(ExpenseCurrency currency)
Shows the kind of currency, both the code and confidence associated with any monatary value detected.
currency
- Shows the kind of currency, both the code and confidence associated with any monatary value detected.public List<ExpenseGroupProperty> getGroupProperties()
Shows which group a response object belongs to, such as whether an address line belongs to the vendor's address or the recipent's address.
public void setGroupProperties(Collection<ExpenseGroupProperty> groupProperties)
Shows which group a response object belongs to, such as whether an address line belongs to the vendor's address or the recipent's address.
groupProperties
- Shows which group a response object belongs to, such as whether an address line belongs to the vendor's
address or the recipent's address.public ExpenseField withGroupProperties(ExpenseGroupProperty... groupProperties)
Shows which group a response object belongs to, such as whether an address line belongs to the vendor's address or the recipent's address.
NOTE: This method appends the values to the existing list (if any). Use
setGroupProperties(java.util.Collection)
or withGroupProperties(java.util.Collection)
if you
want to override the existing values.
groupProperties
- Shows which group a response object belongs to, such as whether an address line belongs to the vendor's
address or the recipent's address.public ExpenseField withGroupProperties(Collection<ExpenseGroupProperty> groupProperties)
Shows which group a response object belongs to, such as whether an address line belongs to the vendor's address or the recipent's address.
groupProperties
- Shows which group a response object belongs to, such as whether an address line belongs to the vendor's
address or the recipent's address.public String toString()
toString
in class Object
Object.toString()
public ExpenseField clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.