Interface GetCollaborationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CleanRoomsResponse.Builder
,CopyableBuilder<GetCollaborationResponse.Builder,
,GetCollaborationResponse> SdkBuilder<GetCollaborationResponse.Builder,
,GetCollaborationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetCollaborationResponse
@Mutable
@NotThreadSafe
public static interface GetCollaborationResponse.Builder
extends CleanRoomsResponse.Builder, SdkPojo, CopyableBuilder<GetCollaborationResponse.Builder,GetCollaborationResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetCollaborationResponse.Builder
collaboration
(Consumer<Collaboration.Builder> collaboration) The entire collaboration for this identifier.collaboration
(Collaboration collaboration) The entire collaboration for this identifier.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
-
collaboration
The entire collaboration for this identifier.
- Parameters:
collaboration
- The entire collaboration for this identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
collaboration
default GetCollaborationResponse.Builder collaboration(Consumer<Collaboration.Builder> collaboration) The entire collaboration for this identifier.
This is a convenience method that creates an instance of theCollaboration.Builder
avoiding the need to create one manually viaCollaboration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocollaboration(Collaboration)
.- Parameters:
collaboration
- a consumer that will call methods onCollaboration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-