@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AnalyzeExpenseResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
AnalyzeExpenseResult() |
Modifier and Type | Method and Description |
---|---|
AnalyzeExpenseResult |
clone() |
boolean |
equals(Object obj) |
DocumentMetadata |
getDocumentMetadata() |
List<ExpenseDocument> |
getExpenseDocuments()
The expenses detected by Amazon Textract.
|
int |
hashCode() |
void |
setDocumentMetadata(DocumentMetadata documentMetadata) |
void |
setExpenseDocuments(Collection<ExpenseDocument> expenseDocuments)
The expenses detected by Amazon Textract.
|
String |
toString()
Returns a string representation of this object.
|
AnalyzeExpenseResult |
withDocumentMetadata(DocumentMetadata documentMetadata) |
AnalyzeExpenseResult |
withExpenseDocuments(Collection<ExpenseDocument> expenseDocuments)
The expenses detected by Amazon Textract.
|
AnalyzeExpenseResult |
withExpenseDocuments(ExpenseDocument... expenseDocuments)
The expenses detected by Amazon Textract.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setDocumentMetadata(DocumentMetadata documentMetadata)
documentMetadata
- public DocumentMetadata getDocumentMetadata()
public AnalyzeExpenseResult withDocumentMetadata(DocumentMetadata documentMetadata)
documentMetadata
- public List<ExpenseDocument> getExpenseDocuments()
The expenses detected by Amazon Textract.
public void setExpenseDocuments(Collection<ExpenseDocument> expenseDocuments)
The expenses detected by Amazon Textract.
expenseDocuments
- The expenses detected by Amazon Textract.public AnalyzeExpenseResult withExpenseDocuments(ExpenseDocument... expenseDocuments)
The expenses detected by Amazon Textract.
NOTE: This method appends the values to the existing list (if any). Use
setExpenseDocuments(java.util.Collection)
or withExpenseDocuments(java.util.Collection)
if you
want to override the existing values.
expenseDocuments
- The expenses detected by Amazon Textract.public AnalyzeExpenseResult withExpenseDocuments(Collection<ExpenseDocument> expenseDocuments)
The expenses detected by Amazon Textract.
expenseDocuments
- The expenses detected by Amazon Textract.public String toString()
toString
in class Object
Object.toString()
public AnalyzeExpenseResult clone()