Interface ListMembershipsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CleanRoomsResponse.Builder
,CopyableBuilder<ListMembershipsResponse.Builder,
,ListMembershipsResponse> SdkBuilder<ListMembershipsResponse.Builder,
,ListMembershipsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListMembershipsResponse
@Mutable
@NotThreadSafe
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 pagination token that's used to fetch the next set of results.Methods inherited from interface software.amazon.awssdk.services.cleanrooms.model.CleanRoomsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
The pagination token that's used to fetch the next set of results.
- Parameters:
nextToken
- The pagination token that's used to fetch the next set 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.Builder
avoiding the need to create one manually viaMembershipSummary.builder()
.When the
Consumer
completes,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:
-