@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GroupMembership extends Object implements Serializable, Cloneable, StructuredPojo
Contains the identifiers for a group, a group member, and a GroupMembership
object in the identity
store.
Constructor and Description |
---|
GroupMembership() |
Modifier and Type | Method and Description |
---|---|
GroupMembership |
clone() |
boolean |
equals(Object obj) |
String |
getGroupId()
The identifier for a group in the identity store.
|
String |
getIdentityStoreId()
The globally unique identifier for the identity store.
|
MemberId |
getMemberId()
An object that contains the identifier of a group member.
|
String |
getMembershipId()
The identifier for a
GroupMembership object in an identity store. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setGroupId(String groupId)
The identifier for a group in the identity store.
|
void |
setIdentityStoreId(String identityStoreId)
The globally unique identifier for the identity store.
|
void |
setMemberId(MemberId memberId)
An object that contains the identifier of a group member.
|
void |
setMembershipId(String membershipId)
The identifier for a
GroupMembership object in an identity store. |
String |
toString()
Returns a string representation of this object.
|
GroupMembership |
withGroupId(String groupId)
The identifier for a group in the identity store.
|
GroupMembership |
withIdentityStoreId(String identityStoreId)
The globally unique identifier for the identity store.
|
GroupMembership |
withMemberId(MemberId memberId)
An object that contains the identifier of a group member.
|
GroupMembership |
withMembershipId(String membershipId)
The identifier for a
GroupMembership object in an identity store. |
public void setIdentityStoreId(String identityStoreId)
The globally unique identifier for the identity store.
identityStoreId
- The globally unique identifier for the identity store.public String getIdentityStoreId()
The globally unique identifier for the identity store.
public GroupMembership withIdentityStoreId(String identityStoreId)
The globally unique identifier for the identity store.
identityStoreId
- The globally unique identifier for the identity store.public void setMembershipId(String membershipId)
The identifier for a GroupMembership
object in an identity store.
membershipId
- The identifier for a GroupMembership
object in an identity store.public String getMembershipId()
The identifier for a GroupMembership
object in an identity store.
GroupMembership
object in an identity store.public GroupMembership withMembershipId(String membershipId)
The identifier for a GroupMembership
object in an identity store.
membershipId
- The identifier for a GroupMembership
object in an identity store.public void setGroupId(String groupId)
The identifier for a group in the identity store.
groupId
- The identifier for a group in the identity store.public String getGroupId()
The identifier for a group in the identity store.
public GroupMembership withGroupId(String groupId)
The identifier for a group in the identity store.
groupId
- The identifier for a group in the identity store.public void setMemberId(MemberId memberId)
An object that contains the identifier of a group member. Setting the UserID
field to the specific
identifier for a user indicates that the user is a member of the group.
memberId
- An object that contains the identifier of a group member. Setting the UserID
field to the
specific identifier for a user indicates that the user is a member of the group.public MemberId getMemberId()
An object that contains the identifier of a group member. Setting the UserID
field to the specific
identifier for a user indicates that the user is a member of the group.
UserID
field to the
specific identifier for a user indicates that the user is a member of the group.public GroupMembership withMemberId(MemberId memberId)
An object that contains the identifier of a group member. Setting the UserID
field to the specific
identifier for a user indicates that the user is a member of the group.
memberId
- An object that contains the identifier of a group member. Setting the UserID
field to the
specific identifier for a user indicates that the user is a member of the group.public String toString()
toString
in class Object
Object.toString()
public GroupMembership clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.