@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, LableDetection, and ValueDetection
Constructor and Description |
---|
ExpenseField() |
Modifier and Type | Method and Description |
---|---|
ExpenseField |
clone() |
boolean |
equals(Object obj) |
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 |
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 |
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 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.