Interface GetPaymentInstrumentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetPaymentInstrumentRequest.Builder,,GetPaymentInstrumentRequest> PaymentsRequest.Builder,SdkBuilder<GetPaymentInstrumentRequest.Builder,,GetPaymentInstrumentRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GetPaymentInstrumentRequest
@Mutable
@NotThreadSafe
public static interface GetPaymentInstrumentRequest.Builder
extends PaymentsRequest.Builder, SdkPojo, CopyableBuilder<GetPaymentInstrumentRequest.Builder,GetPaymentInstrumentRequest>
-
Method Summary
Modifier and TypeMethodDescriptionidentifier(String identifier) The instrument 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
-
identifier
The instrument to retrieve. Specify one of the following:
-
The Amazon Resource Name (ARN) of the instrument, as
ListPaymentInstrumentsreturns inarn. The ARN must be for an instrument on your account. -
The ID of the instrument, as
ListPaymentInstrumentsreturns inid.
- Parameters:
identifier- The instrument to retrieve. Specify one of the following:-
The Amazon Resource Name (ARN) of the instrument, as
ListPaymentInstrumentsreturns inarn. The ARN must be for an instrument on your account. -
The ID of the instrument, as
ListPaymentInstrumentsreturns inid.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
overrideConfiguration
GetPaymentInstrumentRequest.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
GetPaymentInstrumentRequest.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.
-