public CreateCollaborationResult withCollaboration(Collaboration collaboration) {
        setCollaboration(collaboration);
        return this;
    }
<p>
The collaboration.
</p>

@param collaboration
       The collaboration.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cleanrooms/src/main/java/com/amazonaws/services/cleanrooms/model/CreateCollaborationResult.java