Class OutputConfig
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<OutputConfig.Builder,OutputConfig>
Sets whether or not your output will go to a user created bucket. Used to set the name of the bucket, and the prefix on the output file.
OutputConfig is an optional parameter which lets you adjust where your output will be placed. By
default, Amazon Textract will store the results internally and can only be accessed by the Get API operations. With
OutputConfig enabled, you can set the name of the bucket the output will be sent to the file prefix of
the results where you can download your results. Additionally, you can set the KMSKeyID parameter to a
customer master key (CMK) to encrypt your output. Without this parameter set Amazon Textract will encrypt server-side
using the AWS managed CMK for Amazon S3.
Decryption of Customer Content is necessary for processing of the documents by Amazon Textract. If your account is opted out under an AI services opt out policy then all unencrypted Customer Content is immediately and permanently deleted after the Customer Content has been processed by the service. No copy of of the output is retained by Amazon Textract. For information about how to opt out, see Managing AI services opt-out policy.
For more information on data privacy, see the Data Privacy FAQ.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic OutputConfig.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Strings3Bucket()The name of the bucket your output will go to.final Strings3Prefix()The prefix of the object key that the output will be saved to.static Class<? extends OutputConfig.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
s3Bucket
The name of the bucket your output will go to.
- Returns:
- The name of the bucket your output will go to.
-
s3Prefix
The prefix of the object key that the output will be saved to. When not enabled, the prefix will be “textract_output".
- Returns:
- The prefix of the object key that the output will be saved to. When not enabled, the prefix will be “textract_output".
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<OutputConfig.Builder,OutputConfig> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-