Interface ListPaymentInstrumentsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListPaymentInstrumentsRequest.Builder,,ListPaymentInstrumentsRequest> PaymentsRequest.Builder,SdkBuilder<ListPaymentInstrumentsRequest.Builder,,ListPaymentInstrumentsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListPaymentInstrumentsRequest
@Mutable
@NotThreadSafe
public static interface ListPaymentInstrumentsRequest.Builder
extends PaymentsRequest.Builder, SdkPojo, CopyableBuilder<ListPaymentInstrumentsRequest.Builder,ListPaymentInstrumentsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults(Integer maxResults) The maximum number of payment instruments to return in one page.The pagination token from thenextTokenof the previous response.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
-
nextToken
The pagination token from the
nextTokenof the previous response. Omit it to get the first page. Tokens expire. If the token is malformed or expired, or doesn't match the original request, the request fails withValidationExceptionand the reasonINVALID_PAGINATION_TOKEN. In that case, start again from the first page.- Parameters:
nextToken- The pagination token from thenextTokenof the previous response. Omit it to get the first page. Tokens expire. If the token is malformed or expired, or doesn't match the original request, the request fails withValidationExceptionand the reasonINVALID_PAGINATION_TOKEN. In that case, start again from the first page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of payment instruments to return in one page. The default is 25. A page can contain fewer payment instruments even when more remain. Use
nextTokento find out whether more payment instruments are available.- Parameters:
maxResults- The maximum number of payment instruments to return in one page. The default is 25. A page can contain fewer payment instruments even when more remain. UsenextTokento find out whether more payment instruments are available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListPaymentInstrumentsRequest.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
ListPaymentInstrumentsRequest.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.
-