@Generated(value="software.amazon.awssdk:codegen") public final class StartDocumentTextDetectionRequest extends TextractRequest implements ToCopyableBuilder<StartDocumentTextDetectionRequest.Builder,StartDocumentTextDetectionRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
StartDocumentTextDetectionRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static StartDocumentTextDetectionRequest.Builder |
builder() |
String |
clientRequestToken()
The idempotent token that's used to identify the start request.
|
DocumentLocation |
documentLocation()
The location of the document to be processed.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
jobTag()
An identifier that you specify that's included in the completion notification published to the Amazon SNS topic.
|
String |
kmsKeyId()
The KMS key used to encrypt the inference results.
|
NotificationChannel |
notificationChannel()
The Amazon SNS topic ARN that you want Amazon Textract to publish the completion status of the operation to.
|
OutputConfig |
outputConfig()
Sets if the output will go to a customer defined bucket.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends StartDocumentTextDetectionRequest.Builder> |
serializableBuilderClass() |
StartDocumentTextDetectionRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final DocumentLocation documentLocation()
The location of the document to be processed.
public final 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.
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 final 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
to identify the type of document that the completion
notification corresponds to (such as a tax form or a receipt).public final NotificationChannel notificationChannel()
The Amazon SNS topic ARN that you want Amazon Textract to publish the completion status of the operation to.
public final 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.
public final 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.
public StartDocumentTextDetectionRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<StartDocumentTextDetectionRequest.Builder,StartDocumentTextDetectionRequest>
toBuilder
in class TextractRequest
public static StartDocumentTextDetectionRequest.Builder builder()
public static Class<? extends StartDocumentTextDetectionRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2021. All rights reserved.