Interface ListPaymentInstrumentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentCoreResponse.Builder,Buildable,CopyableBuilder<ListPaymentInstrumentsResponse.Builder,,ListPaymentInstrumentsResponse> SdkBuilder<ListPaymentInstrumentsResponse.Builder,,ListPaymentInstrumentsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListPaymentInstrumentsResponse
@Mutable
@NotThreadSafe
public static interface ListPaymentInstrumentsResponse.Builder
extends BedrockAgentCoreResponse.Builder, SdkPojo, CopyableBuilder<ListPaymentInstrumentsResponse.Builder,ListPaymentInstrumentsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionToken for pagination to retrieve the next set of results.paymentInstruments(Collection<PaymentInstrumentSummary> paymentInstruments) List of payment instrument summaries matching the request criteria.paymentInstruments(Consumer<PaymentInstrumentSummary.Builder>... paymentInstruments) List of payment instrument summaries matching the request criteria.paymentInstruments(PaymentInstrumentSummary... paymentInstruments) List of payment instrument summaries matching the request criteria.Methods inherited from interface software.amazon.awssdk.services.bedrockagentcore.model.BedrockAgentCoreResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
paymentInstruments
ListPaymentInstrumentsResponse.Builder paymentInstruments(Collection<PaymentInstrumentSummary> paymentInstruments) List of payment instrument summaries matching the request criteria.
- Parameters:
paymentInstruments- List of payment instrument summaries matching the request criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentInstruments
ListPaymentInstrumentsResponse.Builder paymentInstruments(PaymentInstrumentSummary... paymentInstruments) List of payment instrument summaries matching the request criteria.
- Parameters:
paymentInstruments- List of payment instrument summaries matching the request criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentInstruments
ListPaymentInstrumentsResponse.Builder paymentInstruments(Consumer<PaymentInstrumentSummary.Builder>... paymentInstruments) List of payment instrument summaries matching the request criteria.
This is a convenience method that creates an instance of thePaymentInstrumentSummary.Builderavoiding the need to create one manually viaPaymentInstrumentSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topaymentInstruments(List<PaymentInstrumentSummary>).- Parameters:
paymentInstruments- a consumer that will call methods onPaymentInstrumentSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Token for pagination to retrieve the next set of results.
- Parameters:
nextToken- Token for pagination to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-