Interface ListMembershipsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CleanRoomsResponse.Builder,CopyableBuilder<ListMembershipsResponse.Builder,,ListMembershipsResponse> SdkBuilder<ListMembershipsResponse.Builder,,ListMembershipsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListMembershipsResponse
public static interface ListMembershipsResponse.Builder
extends CleanRoomsResponse.Builder, SdkPojo, CopyableBuilder<ListMembershipsResponse.Builder,ListMembershipsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionmembershipSummaries(Collection<MembershipSummary> membershipSummaries) The list of memberships returned from the ListMemberships operation.membershipSummaries(Consumer<MembershipSummary.Builder>... membershipSummaries) The list of memberships returned from the ListMemberships operation.membershipSummaries(MembershipSummary... membershipSummaries) The list of memberships returned from the ListMemberships operation.The token value retrieved from a previous call to access the next page of results.Methods inherited from interface software.amazon.awssdk.services.cleanrooms.model.CleanRoomsResponse.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
The token value retrieved from a previous call to access the next page of results.
- Parameters:
nextToken- The token value retrieved from a previous call to access the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
membershipSummaries
ListMembershipsResponse.Builder membershipSummaries(Collection<MembershipSummary> membershipSummaries) The list of memberships returned from the ListMemberships operation.
- Parameters:
membershipSummaries- The list of memberships returned from the ListMemberships operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
membershipSummaries
The list of memberships returned from the ListMemberships operation.
- Parameters:
membershipSummaries- The list of memberships returned from the ListMemberships operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
membershipSummaries
ListMembershipsResponse.Builder membershipSummaries(Consumer<MembershipSummary.Builder>... membershipSummaries) The list of memberships returned from the ListMemberships operation.
This is a convenience method that creates an instance of theMembershipSummary.Builderavoiding the need to create one manually viaMembershipSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomembershipSummaries(List<MembershipSummary>).- Parameters:
membershipSummaries- a consumer that will call methods onMembershipSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-