Interface DetectDocumentTextRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DetectDocumentTextRequest.Builder,DetectDocumentTextRequest>,SdkBuilder<DetectDocumentTextRequest.Builder,DetectDocumentTextRequest>,SdkPojo,SdkRequest.Builder,TextractRequest.Builder
- Enclosing class:
- DetectDocumentTextRequest
@Mutable @NotThreadSafe public static interface DetectDocumentTextRequest.Builder extends TextractRequest.Builder, SdkPojo, CopyableBuilder<DetectDocumentTextRequest.Builder,DetectDocumentTextRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DetectDocumentTextRequest.Builderdocument(Consumer<Document.Builder> document)The input document as base64-encoded bytes or an Amazon S3 object.DetectDocumentTextRequest.Builderdocument(Document document)The input document as base64-encoded bytes or an Amazon S3 object.DetectDocumentTextRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)DetectDocumentTextRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.textract.model.TextractRequest.Builder
build
-
-
-
-
Method Detail
-
document
DetectDocumentTextRequest.Builder document(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
Bytesfield.- Parameters:
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
Bytesfield.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
document
default DetectDocumentTextRequest.Builder document(Consumer<Document.Builder> 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
This is a convenience method that creates an instance of theBytesfield.Document.Builderavoiding the need to create one manually viaDocument.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todocument(Document).- Parameters:
document- a consumer that will call methods onDocument.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
document(Document)
-
overrideConfiguration
DetectDocumentTextRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DetectDocumentTextRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-