Interface BatchGetFinancialRecordRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<BatchGetFinancialRecordRequest.Builder,,BatchGetFinancialRecordRequest> PaymentsRequest.Builder,SdkBuilder<BatchGetFinancialRecordRequest.Builder,,BatchGetFinancialRecordRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
BatchGetFinancialRecordRequest
@Mutable
@NotThreadSafe
public static interface BatchGetFinancialRecordRequest.Builder
extends PaymentsRequest.Builder, SdkPojo, CopyableBuilder<BatchGetFinancialRecordRequest.Builder,BatchGetFinancialRecordRequest>
-
Method Summary
Modifier and TypeMethodDescriptionkeys(Collection<FinancialRecordKey> keys) The keys of the financial records to retrieve.keys(Consumer<FinancialRecordKey.Builder>... keys) The keys of the financial records to retrieve.keys(FinancialRecordKey... keys) The keys of the financial records to retrieve.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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.payments.model.PaymentsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
keys
The keys of the financial records to retrieve. Each key is either the record's ID or its invoice ID.
- Parameters:
keys- The keys of the financial records to retrieve. Each key is either the record's ID or its invoice ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keys
The keys of the financial records to retrieve. Each key is either the record's ID or its invoice ID.
- Parameters:
keys- The keys of the financial records to retrieve. Each key is either the record's ID or its invoice ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keys
The keys of the financial records to retrieve. Each key is either the record's ID or its invoice ID.
This is a convenience method that creates an instance of theFinancialRecordKey.Builderavoiding the need to create one manually viaFinancialRecordKey.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tokeys(List<FinancialRecordKey>).- Parameters:
keys- a consumer that will call methods onFinancialRecordKey.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
BatchGetFinancialRecordRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
BatchGetFinancialRecordRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-