@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AnalyzeIDDetections extends Object implements Serializable, Cloneable, StructuredPojo
Used to contain the information detected by an AnalyzeID operation.
Constructor and Description |
---|
AnalyzeIDDetections() |
Modifier and Type | Method and Description |
---|---|
AnalyzeIDDetections |
clone() |
boolean |
equals(Object obj) |
Float |
getConfidence()
The confidence score of the detected text.
|
NormalizedValue |
getNormalizedValue()
Only returned for dates, returns the type of value detected and the date written in a more machine readable way.
|
String |
getText()
Text of either the normalized field or value associated with it.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConfidence(Float confidence)
The confidence score of the detected text.
|
void |
setNormalizedValue(NormalizedValue normalizedValue)
Only returned for dates, returns the type of value detected and the date written in a more machine readable way.
|
void |
setText(String text)
Text of either the normalized field or value associated with it.
|
String |
toString()
Returns a string representation of this object.
|
AnalyzeIDDetections |
withConfidence(Float confidence)
The confidence score of the detected text.
|
AnalyzeIDDetections |
withNormalizedValue(NormalizedValue normalizedValue)
Only returned for dates, returns the type of value detected and the date written in a more machine readable way.
|
AnalyzeIDDetections |
withText(String text)
Text of either the normalized field or value associated with it.
|
public void setText(String text)
Text of either the normalized field or value associated with it.
text
- Text of either the normalized field or value associated with it.public String getText()
Text of either the normalized field or value associated with it.
public AnalyzeIDDetections withText(String text)
Text of either the normalized field or value associated with it.
text
- Text of either the normalized field or value associated with it.public void setNormalizedValue(NormalizedValue normalizedValue)
Only returned for dates, returns the type of value detected and the date written in a more machine readable way.
normalizedValue
- Only returned for dates, returns the type of value detected and the date written in a more machine
readable way.public NormalizedValue getNormalizedValue()
Only returned for dates, returns the type of value detected and the date written in a more machine readable way.
public AnalyzeIDDetections withNormalizedValue(NormalizedValue normalizedValue)
Only returned for dates, returns the type of value detected and the date written in a more machine readable way.
normalizedValue
- Only returned for dates, returns the type of value detected and the date written in a more machine
readable way.public void setConfidence(Float confidence)
The confidence score of the detected text.
confidence
- The confidence score of the detected text.public Float getConfidence()
The confidence score of the detected text.
public AnalyzeIDDetections withConfidence(Float confidence)
The confidence score of the detected text.
confidence
- The confidence score of the detected text.public String toString()
toString
in class Object
Object.toString()
public AnalyzeIDDetections clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.