public GetMembershipResult withMembership(Membership membership) {
        setMembership(membership);
        return this;
    }
<p>
The membership retrieved for the provided identifier.
</p>

@param membership
       The membership retrieved for the provided identifier.
@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/GetMembershipResult.java