@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()
Creates a shallow clone of this object for all fields except the handler context.
|
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()
The unique identifier you specify to identify the job in the completion status that's 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)
The unique identifier you specify to identify the job in the completion status that's 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)
The unique identifier you specify to identify the job in the completion status that's 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, 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, withSdkRequestTimeout
public 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 fields and the associated text. To perform both
types of analysis, add TABLES and FORMS to FeatureTypes
.
FeatureTypes
.FeatureType
public 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 fields and the associated text. To perform both
types of analysis, add TABLES and FORMS to 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 fields and the associated text. To
perform both types of analysis, add TABLES and FORMS to FeatureTypes
.FeatureType
public 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 fields and the associated text. To perform both
types of analysis, add TABLES and FORMS to 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 fields and the associated text. To
perform both types of analysis, add TABLES and FORMS to FeatureTypes
.FeatureType
public 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 fields and the associated text. To perform both
types of analysis, add TABLES and FORMS to 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 fields and the associated text. To
perform both types of analysis, add TABLES and FORMS to FeatureTypes
.FeatureType
public 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 fields and the associated text. To perform both
types of analysis, add TABLES and FORMS to 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 fields and the associated text. To
perform both types of analysis, add TABLES and FORMS to FeatureTypes
.FeatureType
public 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.
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.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.
StartDocumentAnalysis
requests, the same JobId
is returned. Use
ClientRequestToken
to prevent the same job from being accidentally started more than once.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.
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.public void setJobTag(String jobTag)
The unique identifier you specify to identify the job in the completion status that's published to the Amazon SNS topic.
jobTag
- The unique identifier you specify to identify the job in the completion status that's published to the
Amazon SNS topic.public String getJobTag()
The unique identifier you specify to identify the job in the completion status that's published to the Amazon SNS topic.
public StartDocumentAnalysisRequest withJobTag(String jobTag)
The unique identifier you specify to identify the job in the completion status that's published to the Amazon SNS topic.
jobTag
- The unique identifier you specify to identify the job in the completion status that's published to the
Amazon SNS topic.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 Object
Object.toString()
public StartDocumentAnalysisRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.