@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartExpenseAnalysisRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StartExpenseAnalysisRequest() |
Modifier and Type | Method and Description |
---|---|
StartExpenseAnalysisRequest |
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 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 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.
|
StartExpenseAnalysisRequest |
withClientRequestToken(String clientRequestToken)
The idempotent token that's used to identify the start request.
|
StartExpenseAnalysisRequest |
withDocumentLocation(DocumentLocation documentLocation)
The location of the document to be processed.
|
StartExpenseAnalysisRequest |
withJobTag(String jobTag)
An identifier you specify that's included in the completion notification published to the Amazon SNS topic.
|
StartExpenseAnalysisRequest |
withKMSKeyId(String kMSKeyId)
The KMS key used to encrypt the inference results.
|
StartExpenseAnalysisRequest |
withNotificationChannel(NotificationChannel notificationChannel)
The Amazon SNS topic ARN that you want Amazon Textract to publish the completion status of the operation to.
|
StartExpenseAnalysisRequest |
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 StartExpenseAnalysisRequest 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 Operationspublic 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 Operationspublic StartExpenseAnalysisRequest 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 Operationspublic void setJobTag(String jobTag)
An identifier 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 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 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 StartExpenseAnalysisRequest withJobTag(String jobTag)
An identifier 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 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 StartExpenseAnalysisRequest 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 GetExpenseAnalysis
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 GetExpenseAnalysis
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 GetExpenseAnalysis
operation.
GetExpenseAnalysis
operation.public StartExpenseAnalysisRequest 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 GetExpenseAnalysis
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 GetExpenseAnalysis
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 StartExpenseAnalysisRequest 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 StartExpenseAnalysisRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()