Interface AnalyzeExpenseRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AnalyzeExpenseRequest.Builder,
,AnalyzeExpenseRequest> SdkBuilder<AnalyzeExpenseRequest.Builder,
,AnalyzeExpenseRequest> SdkPojo
,SdkRequest.Builder
,TextractRequest.Builder
- Enclosing class:
AnalyzeExpenseRequest
public static interface AnalyzeExpenseRequest.Builder
extends TextractRequest.Builder, SdkPojo, CopyableBuilder<AnalyzeExpenseRequest.Builder,AnalyzeExpenseRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AnalyzeExpenseRequest.Builder
document
(Consumer<Document.Builder> document) Sets the value of the Document property for this object.Sets the value of the Document property for this object.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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, sdkFields
Methods inherited from interface software.amazon.awssdk.services.textract.model.TextractRequest.Builder
build
-
Method Details
-
document
Sets the value of the Document property for this object.- Parameters:
document
- The new value for the Document property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
document
Sets the value of the Document property for this object. This is a convenience method that creates an instance of theDocument.Builder
avoiding the need to create one manually viaDocument.builder()
.When the
Consumer
completes,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:
-
overrideConfiguration
AnalyzeExpenseRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AnalyzeExpenseRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-