@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartDocumentAnalysisRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
StartDocumentAnalysisRequest() |
| Modifier and Type | Method and Description |
|---|---|
StartDocumentAnalysisRequest |
clone() |
boolean |
equals(Object obj) |
String |
getClientRequestToken()
The idempotent token that you use to identify the start request.
|
DocumentLocation |
getDocumentLocation()
The location of the document to be processed.
|
List<String> |
getFeatureTypes()
A list of the types of analysis to perform.
|
String |
getJobTag()
An identifier that you specify that's included in the completion notification published to the Amazon SNS topic.
|
NotificationChannel |
getNotificationChannel()
The Amazon SNS topic ARN that you want Amazon Textract to publish the completion status of the operation to.
|
int |
hashCode() |
void |
setClientRequestToken(String clientRequestToken)
The idempotent token that you use to identify the start request.
|
void |
setDocumentLocation(DocumentLocation documentLocation)
The location of the document to be processed.
|
void |
setFeatureTypes(Collection<String> featureTypes)
A list of the types of analysis to perform.
|
void |
setJobTag(String jobTag)
An identifier that you specify that's included in the completion notification published to the Amazon SNS topic.
|
void |
setNotificationChannel(NotificationChannel notificationChannel)
The Amazon SNS topic ARN that you want Amazon Textract to publish the completion status of the operation to.
|
String |
toString()
Returns a string representation of this object.
|
StartDocumentAnalysisRequest |
withClientRequestToken(String clientRequestToken)
The idempotent token that you use to identify the start request.
|
StartDocumentAnalysisRequest |
withDocumentLocation(DocumentLocation documentLocation)
The location of the document to be processed.
|
StartDocumentAnalysisRequest |
withFeatureTypes(Collection<String> featureTypes)
A list of the types of analysis to perform.
|
StartDocumentAnalysisRequest |
withFeatureTypes(FeatureType... featureTypes)
A list of the types of analysis to perform.
|
StartDocumentAnalysisRequest |
withFeatureTypes(String... featureTypes)
A list of the types of analysis to perform.
|
StartDocumentAnalysisRequest |
withJobTag(String jobTag)
An identifier that you specify that's included in the completion notification published to the Amazon SNS topic.
|
StartDocumentAnalysisRequest |
withNotificationChannel(NotificationChannel notificationChannel)
The Amazon SNS topic ARN that you want Amazon Textract to publish the completion status of the operation to.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setDocumentLocation(DocumentLocation documentLocation)
The location of the document to be processed.
documentLocation - The location of the document to be processed.public DocumentLocation getDocumentLocation()
The location of the document to be processed.
public StartDocumentAnalysisRequest withDocumentLocation(DocumentLocation documentLocation)
The location of the document to be processed.
documentLocation - The location of the document to be processed.public List<String> getFeatureTypes()
A list of the types of analysis to perform. Add TABLES to the list to return information about the tables that
are detected in the input document. Add FORMS to return detected form data. To perform both types of analysis,
add TABLES and FORMS to FeatureTypes. All lines and words detected in the document are included in
the response (including text that isn't related to the value of FeatureTypes).
FeatureTypes. All lines and words detected in the document
are included in the response (including text that isn't related to the value of FeatureTypes
).FeatureTypepublic void setFeatureTypes(Collection<String> featureTypes)
A list of the types of analysis to perform. Add TABLES to the list to return information about the tables that
are detected in the input document. Add FORMS to return detected form data. To perform both types of analysis,
add TABLES and FORMS to FeatureTypes. All lines and words detected in the document are included in
the response (including text that isn't related to the value of FeatureTypes).
featureTypes - A list of the types of analysis to perform. Add TABLES to the list to return information about the tables
that are detected in the input document. Add FORMS to return detected form data. To perform both types of
analysis, add TABLES and FORMS to FeatureTypes. All lines and words detected in the document
are included in the response (including text that isn't related to the value of FeatureTypes
).FeatureTypepublic StartDocumentAnalysisRequest withFeatureTypes(String... featureTypes)
A list of the types of analysis to perform. Add TABLES to the list to return information about the tables that
are detected in the input document. Add FORMS to return detected form data. To perform both types of analysis,
add TABLES and FORMS to FeatureTypes. All lines and words detected in the document are included in
the response (including text that isn't related to the value of FeatureTypes).
NOTE: This method appends the values to the existing list (if any). Use
setFeatureTypes(java.util.Collection) or withFeatureTypes(java.util.Collection) if you want to
override the existing values.
featureTypes - A list of the types of analysis to perform. Add TABLES to the list to return information about the tables
that are detected in the input document. Add FORMS to return detected form data. To perform both types of
analysis, add TABLES and FORMS to FeatureTypes. All lines and words detected in the document
are included in the response (including text that isn't related to the value of FeatureTypes
).FeatureTypepublic StartDocumentAnalysisRequest withFeatureTypes(Collection<String> featureTypes)
A list of the types of analysis to perform. Add TABLES to the list to return information about the tables that
are detected in the input document. Add FORMS to return detected form data. To perform both types of analysis,
add TABLES and FORMS to FeatureTypes. All lines and words detected in the document are included in
the response (including text that isn't related to the value of FeatureTypes).
featureTypes - A list of the types of analysis to perform. Add TABLES to the list to return information about the tables
that are detected in the input document. Add FORMS to return detected form data. To perform both types of
analysis, add TABLES and FORMS to FeatureTypes. All lines and words detected in the document
are included in the response (including text that isn't related to the value of FeatureTypes
).FeatureTypepublic StartDocumentAnalysisRequest withFeatureTypes(FeatureType... featureTypes)
A list of the types of analysis to perform. Add TABLES to the list to return information about the tables that
are detected in the input document. Add FORMS to return detected form data. To perform both types of analysis,
add TABLES and FORMS to FeatureTypes. All lines and words detected in the document are included in
the response (including text that isn't related to the value of FeatureTypes).
featureTypes - A list of the types of analysis to perform. Add TABLES to the list to return information about the tables
that are detected in the input document. Add FORMS to return detected form data. To perform both types of
analysis, add TABLES and FORMS to FeatureTypes. All lines and words detected in the document
are included in the response (including text that isn't related to the value of FeatureTypes
).FeatureTypepublic void setClientRequestToken(String clientRequestToken)
The idempotent token that you use to identify the start request. If you use the same token with multiple
StartDocumentAnalysis requests, the same JobId is returned. Use
ClientRequestToken to prevent the same job from being accidentally started more than once. For more
information, see Calling Amazon Textract
Asynchronous Operations.
clientRequestToken - The idempotent token that you use to identify the start request. If you use the same token with multiple
StartDocumentAnalysis requests, the same JobId is returned. Use
ClientRequestToken to prevent the same job from being accidentally started more than once.
For more information, see Calling
Amazon Textract Asynchronous Operations.public String getClientRequestToken()
The idempotent token that you use to identify the start request. If you use the same token with multiple
StartDocumentAnalysis requests, the same JobId is returned. Use
ClientRequestToken to prevent the same job from being accidentally started more than once. For more
information, see Calling Amazon Textract
Asynchronous Operations.
StartDocumentAnalysis requests, the same JobId is returned. Use
ClientRequestToken to prevent the same job from being accidentally started more than once.
For more information, see Calling
Amazon Textract Asynchronous Operations.public StartDocumentAnalysisRequest withClientRequestToken(String clientRequestToken)
The idempotent token that you use to identify the start request. If you use the same token with multiple
StartDocumentAnalysis requests, the same JobId is returned. Use
ClientRequestToken to prevent the same job from being accidentally started more than once. For more
information, see Calling Amazon Textract
Asynchronous Operations.
clientRequestToken - The idempotent token that you use to identify the start request. If you use the same token with multiple
StartDocumentAnalysis requests, the same JobId is returned. Use
ClientRequestToken to prevent the same job from being accidentally started more than once.
For more information, see Calling
Amazon Textract Asynchronous Operations.public void setJobTag(String jobTag)
An identifier that you specify that's included in the completion notification published to the Amazon SNS topic.
For example, you can use JobTag to identify the type of document that the completion notification
corresponds to (such as a tax form or a receipt).
jobTag - An identifier that you specify that's included in the completion notification published to the Amazon SNS
topic. For example, you can use JobTag to identify the type of document that the completion
notification corresponds to (such as a tax form or a receipt).public String getJobTag()
An identifier that you specify that's included in the completion notification published to the Amazon SNS topic.
For example, you can use JobTag to identify the type of document that the completion notification
corresponds to (such as a tax form or a receipt).
JobTag to identify the type of document that the completion
notification corresponds to (such as a tax form or a receipt).public StartDocumentAnalysisRequest withJobTag(String jobTag)
An identifier that you specify that's included in the completion notification published to the Amazon SNS topic.
For example, you can use JobTag to identify the type of document that the completion notification
corresponds to (such as a tax form or a receipt).
jobTag - An identifier that you specify that's included in the completion notification published to the Amazon SNS
topic. For example, you can use JobTag to identify the type of document that the completion
notification corresponds to (such as a tax form or a receipt).public void setNotificationChannel(NotificationChannel notificationChannel)
The Amazon SNS topic ARN that you want Amazon Textract to publish the completion status of the operation to.
notificationChannel - The Amazon SNS topic ARN that you want Amazon Textract to publish the completion status of the operation
to.public NotificationChannel getNotificationChannel()
The Amazon SNS topic ARN that you want Amazon Textract to publish the completion status of the operation to.
public StartDocumentAnalysisRequest withNotificationChannel(NotificationChannel notificationChannel)
The Amazon SNS topic ARN that you want Amazon Textract to publish the completion status of the operation to.
notificationChannel - The Amazon SNS topic ARN that you want Amazon Textract to publish the completion status of the operation
to.public String toString()
toString in class ObjectObject.toString()public StartDocumentAnalysisRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2020. All rights reserved.