@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartDocumentTextDetectionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StartDocumentTextDetectionRequest() |
Modifier and Type | Method and Description |
---|---|
StartDocumentTextDetectionRequest |
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's used to identify the start request.
|
DocumentLocation |
getDocumentLocation()
The location of the document to be processed.
|
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.
|
int |
hashCode() |
void |
setClientRequestToken(String clientRequestToken)
The idempotent token that's used to identify the start request.
|
void |
setDocumentLocation(DocumentLocation documentLocation)
The location of the document to be processed.
|
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.
|
String |
toString()
Returns a string representation of this object.
|
StartDocumentTextDetectionRequest |
withClientRequestToken(String clientRequestToken)
The idempotent token that's used to identify the start request.
|
StartDocumentTextDetectionRequest |
withDocumentLocation(DocumentLocation documentLocation)
The location of the document to be processed.
|
StartDocumentTextDetectionRequest |
withJobTag(String jobTag)
An identifier that you specify that's included in the completion notification published to the Amazon SNS topic.
|
StartDocumentTextDetectionRequest |
withKMSKeyId(String kMSKeyId)
The KMS key used to encrypt the inference results.
|
StartDocumentTextDetectionRequest |
withNotificationChannel(NotificationChannel notificationChannel)
The Amazon SNS topic ARN that you want Amazon Textract to publish the completion status of the operation to.
|
StartDocumentTextDetectionRequest |
withOutputConfig(OutputConfig outputConfig)
Sets if the output will go to a customer defined bucket.
|
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 StartDocumentTextDetectionRequest withDocumentLocation(DocumentLocation documentLocation)
The location of the document to be processed.
documentLocation
- The location of the document to be processed.public void setClientRequestToken(String clientRequestToken)
The idempotent token that's used to identify the start request. If you use the same token with multiple
StartDocumentTextDetection
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's used to identify the start request. If you use the same token with multiple
StartDocumentTextDetection
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's used to identify the start request. If you use the same token with multiple
StartDocumentTextDetection
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.
StartDocumentTextDetection
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 StartDocumentTextDetectionRequest withClientRequestToken(String clientRequestToken)
The idempotent token that's used to identify the start request. If you use the same token with multiple
StartDocumentTextDetection
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's used to identify the start request. If you use the same token with multiple
StartDocumentTextDetection
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 StartDocumentTextDetectionRequest 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 StartDocumentTextDetectionRequest 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 with the GetDocumentTextDetection 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 with the GetDocumentTextDetection 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 with the GetDocumentTextDetection operation.
public StartDocumentTextDetectionRequest 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 with the GetDocumentTextDetection 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 with the GetDocumentTextDetection 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 StartDocumentTextDetectionRequest 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 String toString()
toString
in class Object
Object.toString()
public StartDocumentTextDetectionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()