Interface SearchCustomerAccountsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<SearchCustomerAccountsResponse.Builder,,SearchCustomerAccountsResponse> PartnerCentralSellingResponse.Builder,SdkBuilder<SearchCustomerAccountsResponse.Builder,,SearchCustomerAccountsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
SearchCustomerAccountsResponse
@Mutable
@NotThreadSafe
public static interface SearchCustomerAccountsResponse.Builder
extends PartnerCentralSellingResponse.Builder, SdkPojo, CopyableBuilder<SearchCustomerAccountsResponse.Builder,SearchCustomerAccountsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncustomerAccountSummaries(Collection<CustomerAccountSummary> customerAccountSummaries) The customer accounts that match the request.customerAccountSummaries(Consumer<CustomerAccountSummary.Builder>... customerAccountSummaries) The customer accounts that match the request.customerAccountSummaries(CustomerAccountSummary... customerAccountSummaries) The customer accounts that match the request.The token to retrieve the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.partnercentralselling.model.PartnerCentralSellingResponse.Builder
build, responseMetadata, responseMetadataMethods 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
-
customerAccountSummaries
SearchCustomerAccountsResponse.Builder customerAccountSummaries(Collection<CustomerAccountSummary> customerAccountSummaries) The customer accounts that match the request.
- Parameters:
customerAccountSummaries- The customer accounts that match the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerAccountSummaries
SearchCustomerAccountsResponse.Builder customerAccountSummaries(CustomerAccountSummary... customerAccountSummaries) The customer accounts that match the request.
- Parameters:
customerAccountSummaries- The customer accounts that match the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerAccountSummaries
SearchCustomerAccountsResponse.Builder customerAccountSummaries(Consumer<CustomerAccountSummary.Builder>... customerAccountSummaries) The customer accounts that match the request.
This is a convenience method that creates an instance of theCustomerAccountSummary.Builderavoiding the need to create one manually viaCustomerAccountSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustomerAccountSummaries(List<CustomerAccountSummary>).- Parameters:
customerAccountSummaries- a consumer that will call methods onCustomerAccountSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to retrieve the next page of results. This value is absent when there are no more results.
- Parameters:
nextToken- The token to retrieve the next page of results. This value is absent when there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-