@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) |
AdaptersConfig |
getAdaptersConfig()
Specifies the adapter to be used when analyzing a document.
|
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.
|
String |
getKMSKeyId()
The KMS key used to encrypt the inference results.
|
NotificationChannel |
getNotificationChannel()
The Amazon SNS topic ARN that you want Amazon Textract to publish the completion status of the operation to.
|
OutputConfig |
getOutputConfig()
Sets if the output will go to a customer defined bucket.
|
QueriesConfig |
getQueriesConfig() |
int |
hashCode() |
void |
setAdaptersConfig(AdaptersConfig adaptersConfig)
Specifies the adapter to be used when analyzing a document.
|
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 |
setKMSKeyId(String kMSKeyId)
The KMS key used to encrypt the inference results.
|
void |
setNotificationChannel(NotificationChannel notificationChannel)
The Amazon SNS topic ARN that you want Amazon Textract to publish the completion status of the operation to.
|
void |
setOutputConfig(OutputConfig outputConfig)
Sets if the output will go to a customer defined bucket.
|
void |
setQueriesConfig(QueriesConfig queriesConfig) |
String |
toString()
Returns a string representation of this object.
|
StartDocumentAnalysisRequest |
withAdaptersConfig(AdaptersConfig adaptersConfig)
Specifies the adapter to be used when analyzing a document.
|
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 |
withKMSKeyId(String kMSKeyId)
The KMS key used to encrypt the inference results.
|
StartDocumentAnalysisRequest |
withNotificationChannel(NotificationChannel notificationChannel)
The Amazon SNS topic ARN that you want Amazon Textract to publish the completion status of the operation to.
|
StartDocumentAnalysisRequest |
withOutputConfig(OutputConfig outputConfig)
Sets if the output will go to a customer defined bucket.
|
StartDocumentAnalysisRequest |
withQueriesConfig(QueriesConfig queriesConfig) |
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 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
).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 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
).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 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
).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 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
).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 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
).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. 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 void setOutputConfig(OutputConfig outputConfig)
Sets if the output will go to a customer defined bucket. By default, Amazon Textract will save the results internally to be accessed by the GetDocumentAnalysis operation.
outputConfig
- Sets if the output will go to a customer defined bucket. By default, Amazon Textract will save the results
internally to be accessed by the GetDocumentAnalysis operation.public OutputConfig getOutputConfig()
Sets if the output will go to a customer defined bucket. By default, Amazon Textract will save the results internally to be accessed by the GetDocumentAnalysis operation.
public StartDocumentAnalysisRequest withOutputConfig(OutputConfig outputConfig)
Sets if the output will go to a customer defined bucket. By default, Amazon Textract will save the results internally to be accessed by the GetDocumentAnalysis operation.
outputConfig
- Sets if the output will go to a customer defined bucket. By default, Amazon Textract will save the results
internally to be accessed by the GetDocumentAnalysis operation.public void setKMSKeyId(String kMSKeyId)
The KMS key used to encrypt the inference results. This can be in either Key ID or Key Alias format. When a KMS key is provided, the KMS key will be used for server-side encryption of the objects in the customer bucket. When this parameter is not enabled, the result will be encrypted server side,using SSE-S3.
kMSKeyId
- The KMS key used to encrypt the inference results. This can be in either Key ID or Key Alias format. When
a KMS key is provided, the KMS key will be used for server-side encryption of the objects in the customer
bucket. When this parameter is not enabled, the result will be encrypted server side,using SSE-S3.public String getKMSKeyId()
The KMS key used to encrypt the inference results. This can be in either Key ID or Key Alias format. When a KMS key is provided, the KMS key will be used for server-side encryption of the objects in the customer bucket. When this parameter is not enabled, the result will be encrypted server side,using SSE-S3.
public StartDocumentAnalysisRequest withKMSKeyId(String kMSKeyId)
The KMS key used to encrypt the inference results. This can be in either Key ID or Key Alias format. When a KMS key is provided, the KMS key will be used for server-side encryption of the objects in the customer bucket. When this parameter is not enabled, the result will be encrypted server side,using SSE-S3.
kMSKeyId
- The KMS key used to encrypt the inference results. This can be in either Key ID or Key Alias format. When
a KMS key is provided, the KMS key will be used for server-side encryption of the objects in the customer
bucket. When this parameter is not enabled, the result will be encrypted server side,using SSE-S3.public void setQueriesConfig(QueriesConfig queriesConfig)
queriesConfig
- public QueriesConfig getQueriesConfig()
public StartDocumentAnalysisRequest withQueriesConfig(QueriesConfig queriesConfig)
queriesConfig
- public void setAdaptersConfig(AdaptersConfig adaptersConfig)
Specifies the adapter to be used when analyzing a document.
adaptersConfig
- Specifies the adapter to be used when analyzing a document.public AdaptersConfig getAdaptersConfig()
Specifies the adapter to be used when analyzing a document.
public StartDocumentAnalysisRequest withAdaptersConfig(AdaptersConfig adaptersConfig)
Specifies the adapter to be used when analyzing a document.
adaptersConfig
- Specifies the adapter to be used when analyzing a document.public String toString()
toString
in class Object
Object.toString()
public StartDocumentAnalysisRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()