Class DetectDocumentTextRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.textract.model.TextractRequest
-
- software.amazon.awssdk.services.textract.model.DetectDocumentTextRequest
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<DetectDocumentTextRequest.Builder,DetectDocumentTextRequest>
@Generated("software.amazon.awssdk:codegen") public final class DetectDocumentTextRequest extends TextractRequest implements ToCopyableBuilder<DetectDocumentTextRequest.Builder,DetectDocumentTextRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
DetectDocumentTextRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DetectDocumentTextRequest.Builder
builder()
Document
document()
The input document as base64-encoded bytes or an Amazon S3 object.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
List<SdkField<?>>
sdkFields()
static Class<? extends DetectDocumentTextRequest.Builder>
serializableBuilderClass()
DetectDocumentTextRequest.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
document
public final Document document()
The input document as base64-encoded bytes or an Amazon S3 object. If you use the AWS CLI to call Amazon Textract operations, you can't pass image bytes. The document must be an image in JPEG or PNG format.
If you're using an AWS SDK to call Amazon Textract, you might not need to base64-encode image bytes that are passed using the
Bytes
field.- Returns:
- The input document as base64-encoded bytes or an Amazon S3 object. If you use the AWS CLI to call Amazon
Textract operations, you can't pass image bytes. The document must be an image in JPEG or PNG format.
If you're using an AWS SDK to call Amazon Textract, you might not need to base64-encode image bytes that are passed using the
Bytes
field.
-
toBuilder
public DetectDocumentTextRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<DetectDocumentTextRequest.Builder,DetectDocumentTextRequest>
- Specified by:
toBuilder
in classTextractRequest
-
builder
public static DetectDocumentTextRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DetectDocumentTextRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForField
in classSdkRequest
-
-