Interface GetCollaborationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CleanRoomsResponse.Builder,CopyableBuilder<GetCollaborationResponse.Builder,,GetCollaborationResponse> SdkBuilder<GetCollaborationResponse.Builder,,GetCollaborationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetCollaborationResponse
public static interface GetCollaborationResponse.Builder
extends CleanRoomsResponse.Builder, SdkPojo, CopyableBuilder<GetCollaborationResponse.Builder,GetCollaborationResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetCollaborationResponse.Buildercollaboration(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, 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
-
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.Builderavoiding the need to create one manually viaCollaboration.builder().When the
Consumercompletes,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:
-