@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LendingField extends Object implements Serializable, Cloneable, StructuredPojo
Holds the normalized key-value pairs returned by AnalyzeDocument, including the document type, detected text, and geometry.
Constructor and Description |
---|
LendingField() |
Modifier and Type | Method and Description |
---|---|
LendingField |
clone() |
boolean |
equals(Object obj) |
LendingDetection |
getKeyDetection() |
String |
getType()
The type of the lending document.
|
List<LendingDetection> |
getValueDetections()
An array of LendingDetection objects.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKeyDetection(LendingDetection keyDetection) |
void |
setType(String type)
The type of the lending document.
|
void |
setValueDetections(Collection<LendingDetection> valueDetections)
An array of LendingDetection objects.
|
String |
toString()
Returns a string representation of this object.
|
LendingField |
withKeyDetection(LendingDetection keyDetection) |
LendingField |
withType(String type)
The type of the lending document.
|
LendingField |
withValueDetections(Collection<LendingDetection> valueDetections)
An array of LendingDetection objects.
|
LendingField |
withValueDetections(LendingDetection... valueDetections)
An array of LendingDetection objects.
|
public void setType(String type)
The type of the lending document.
type
- The type of the lending document.public String getType()
The type of the lending document.
public LendingField withType(String type)
The type of the lending document.
type
- The type of the lending document.public void setKeyDetection(LendingDetection keyDetection)
keyDetection
- public LendingDetection getKeyDetection()
public LendingField withKeyDetection(LendingDetection keyDetection)
keyDetection
- public List<LendingDetection> getValueDetections()
An array of LendingDetection objects.
public void setValueDetections(Collection<LendingDetection> valueDetections)
An array of LendingDetection objects.
valueDetections
- An array of LendingDetection objects.public LendingField withValueDetections(LendingDetection... valueDetections)
An array of LendingDetection objects.
NOTE: This method appends the values to the existing list (if any). Use
setValueDetections(java.util.Collection)
or withValueDetections(java.util.Collection)
if you
want to override the existing values.
valueDetections
- An array of LendingDetection objects.public LendingField withValueDetections(Collection<LendingDetection> valueDetections)
An array of LendingDetection objects.
valueDetections
- An array of LendingDetection objects.public String toString()
toString
in class Object
Object.toString()
public LendingField clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.