Class DocumentLocation
- java.lang.Object
-
- software.amazon.awssdk.services.textract.model.DocumentLocation
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DocumentLocation.Builder,DocumentLocation>
@Generated("software.amazon.awssdk:codegen") public final class DocumentLocation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DocumentLocation.Builder,DocumentLocation>
The Amazon S3 bucket that contains the document to be processed. It's used by asynchronous operations.
The input document can be an image file in JPEG or PNG format. It can also be a file in PDF format.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDocumentLocation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DocumentLocation.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()S3Objects3Object()The Amazon S3 bucket that contains the input document.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DocumentLocation.Builder>serializableBuilderClass()DocumentLocation.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
s3Object
public final S3Object s3Object()
The Amazon S3 bucket that contains the input document.
- Returns:
- The Amazon S3 bucket that contains the input document.
-
toBuilder
public DocumentLocation.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DocumentLocation.Builder,DocumentLocation>
-
builder
public static DocumentLocation.Builder builder()
-
serializableBuilderClass
public static Class<? extends DocumentLocation.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-