public GroupMembership withMembershipId(String membershipId) {
        setMembershipId(membershipId);
        return this;
    }
<p>
The identifier for a <code>GroupMembership</code> object in an identity store.
</p>

@param membershipId
       The identifier for a <code>GroupMembership</code> object in an identity store.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-identitystore/src/main/java/com/amazonaws/services/identitystore/model/GroupMembership.java