Interface CreateCollaborationChangeRequestResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CleanRoomsResponse.Builder,CopyableBuilder<CreateCollaborationChangeRequestResponse.Builder,,CreateCollaborationChangeRequestResponse> SdkBuilder<CreateCollaborationChangeRequestResponse.Builder,,CreateCollaborationChangeRequestResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateCollaborationChangeRequestResponse
@Mutable
@NotThreadSafe
public static interface CreateCollaborationChangeRequestResponse.Builder
extends CleanRoomsResponse.Builder, SdkPojo, CopyableBuilder<CreateCollaborationChangeRequestResponse.Builder,CreateCollaborationChangeRequestResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncollaborationChangeRequest(Consumer<CollaborationChangeRequest.Builder> collaborationChangeRequest) Sets the value of the CollaborationChangeRequest property for this object.collaborationChangeRequest(CollaborationChangeRequest collaborationChangeRequest) Sets the value of the CollaborationChangeRequest property for this object.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
collaborationChangeRequest
CreateCollaborationChangeRequestResponse.Builder collaborationChangeRequest(CollaborationChangeRequest collaborationChangeRequest) Sets the value of the CollaborationChangeRequest property for this object.- Parameters:
collaborationChangeRequest- The new value for the CollaborationChangeRequest property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
collaborationChangeRequest
default CreateCollaborationChangeRequestResponse.Builder collaborationChangeRequest(Consumer<CollaborationChangeRequest.Builder> collaborationChangeRequest) Sets the value of the CollaborationChangeRequest property for this object. This is a convenience method that creates an instance of theCollaborationChangeRequest.Builderavoiding the need to create one manually viaCollaborationChangeRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocollaborationChangeRequest(CollaborationChangeRequest).- Parameters:
collaborationChangeRequest- a consumer that will call methods onCollaborationChangeRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-