Interface ListCollaborationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CleanRoomsResponse.Builder
,CopyableBuilder<ListCollaborationsResponse.Builder,
,ListCollaborationsResponse> SdkBuilder<ListCollaborationsResponse.Builder,
,ListCollaborationsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListCollaborationsResponse
@Mutable
@NotThreadSafe
public static interface ListCollaborationsResponse.Builder
extends CleanRoomsResponse.Builder, SdkPojo, CopyableBuilder<ListCollaborationsResponse.Builder,ListCollaborationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncollaborationList
(Collection<CollaborationSummary> collaborationList) The list of collaborations.collaborationList
(Consumer<CollaborationSummary.Builder>... collaborationList) The list of collaborations.collaborationList
(CollaborationSummary... collaborationList) The list of collaborations.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.
-
collaborationList
ListCollaborationsResponse.Builder collaborationList(Collection<CollaborationSummary> collaborationList) The list of collaborations.
- Parameters:
collaborationList
- The list of collaborations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
collaborationList
The list of collaborations.
- Parameters:
collaborationList
- The list of collaborations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
collaborationList
ListCollaborationsResponse.Builder collaborationList(Consumer<CollaborationSummary.Builder>... collaborationList) The list of collaborations.
This is a convenience method that creates an instance of theCollaborationSummary.Builder
avoiding the need to create one manually viaCollaborationSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocollaborationList(List<CollaborationSummary>)
.- Parameters:
collaborationList
- a consumer that will call methods onCollaborationSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-