Interface ListBenefitAllocationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListBenefitAllocationsResponse.Builder,,ListBenefitAllocationsResponse> PartnerCentralBenefitsResponse.Builder,SdkBuilder<ListBenefitAllocationsResponse.Builder,,ListBenefitAllocationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListBenefitAllocationsResponse
@Mutable
@NotThreadSafe
public static interface ListBenefitAllocationsResponse.Builder
extends PartnerCentralBenefitsResponse.Builder, SdkPojo, CopyableBuilder<ListBenefitAllocationsResponse.Builder,ListBenefitAllocationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionbenefitAllocationSummaries(Collection<BenefitAllocationSummary> benefitAllocationSummaries) A list of benefit allocation summaries matching the specified criteria.benefitAllocationSummaries(Consumer<BenefitAllocationSummary.Builder>... benefitAllocationSummaries) A list of benefit allocation summaries matching the specified criteria.benefitAllocationSummaries(BenefitAllocationSummary... benefitAllocationSummaries) A list of benefit allocation summaries matching the specified criteria.A pagination token to retrieve the next set of results, if more results are available.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.partnercentralbenefits.model.PartnerCentralBenefitsResponse.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
-
benefitAllocationSummaries
ListBenefitAllocationsResponse.Builder benefitAllocationSummaries(Collection<BenefitAllocationSummary> benefitAllocationSummaries) A list of benefit allocation summaries matching the specified criteria.
- Parameters:
benefitAllocationSummaries- A list of benefit allocation summaries matching the specified criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
benefitAllocationSummaries
ListBenefitAllocationsResponse.Builder benefitAllocationSummaries(BenefitAllocationSummary... benefitAllocationSummaries) A list of benefit allocation summaries matching the specified criteria.
- Parameters:
benefitAllocationSummaries- A list of benefit allocation summaries matching the specified criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
benefitAllocationSummaries
ListBenefitAllocationsResponse.Builder benefitAllocationSummaries(Consumer<BenefitAllocationSummary.Builder>... benefitAllocationSummaries) A list of benefit allocation summaries matching the specified criteria.
This is a convenience method that creates an instance of theBenefitAllocationSummary.Builderavoiding the need to create one manually viaBenefitAllocationSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobenefitAllocationSummaries(List<BenefitAllocationSummary>).- Parameters:
benefitAllocationSummaries- a consumer that will call methods onBenefitAllocationSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A pagination token to retrieve the next set of results, if more results are available.
- Parameters:
nextToken- A pagination token to retrieve the next set of results, if more results are available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-