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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListMembershipsResponse.BuildermembershipSummaries(Collection<MembershipSummary> membershipSummaries)The list of memberships returned from the ListMemberships operation.ListMembershipsResponse.BuildermembershipSummaries(Consumer<MembershipSummary.Builder>... membershipSummaries)The list of memberships returned from the ListMemberships operation.ListMembershipsResponse.BuildermembershipSummaries(MembershipSummary... membershipSummaries)The list of memberships returned from the ListMemberships operation.ListMembershipsResponse.BuildernextToken(String nextToken)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, 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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
nextToken
ListMembershipsResponse.Builder nextToken(String 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
ListMembershipsResponse.Builder membershipSummaries(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
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 to#membershipSummaries(List.) - 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:
#membershipSummaries(java.util.Collection)
-
-