@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GroupMembershipExistenceResult extends Object implements Serializable, Cloneable, StructuredPojo
Indicates whether a resource is a member of a group in the identity store.
Constructor and Description |
---|
GroupMembershipExistenceResult() |
Modifier and Type | Method and Description |
---|---|
GroupMembershipExistenceResult |
clone() |
boolean |
equals(Object obj) |
String |
getGroupId()
The identifier for a group in the identity store.
|
MemberId |
getMemberId()
An object that contains the identifier of a group member.
|
Boolean |
getMembershipExists()
Indicates whether a membership relation exists or not.
|
int |
hashCode() |
Boolean |
isMembershipExists()
Indicates whether a membership relation exists or not.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setGroupId(String groupId)
The identifier for a group in the identity store.
|
void |
setMemberId(MemberId memberId)
An object that contains the identifier of a group member.
|
void |
setMembershipExists(Boolean membershipExists)
Indicates whether a membership relation exists or not.
|
String |
toString()
Returns a string representation of this object.
|
GroupMembershipExistenceResult |
withGroupId(String groupId)
The identifier for a group in the identity store.
|
GroupMembershipExistenceResult |
withMemberId(MemberId memberId)
An object that contains the identifier of a group member.
|
GroupMembershipExistenceResult |
withMembershipExists(Boolean membershipExists)
Indicates whether a membership relation exists or not.
|
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 GroupMembershipExistenceResult 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 GroupMembershipExistenceResult 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 void setMembershipExists(Boolean membershipExists)
Indicates whether a membership relation exists or not.
membershipExists
- Indicates whether a membership relation exists or not.public Boolean getMembershipExists()
Indicates whether a membership relation exists or not.
public GroupMembershipExistenceResult withMembershipExists(Boolean membershipExists)
Indicates whether a membership relation exists or not.
membershipExists
- Indicates whether a membership relation exists or not.public Boolean isMembershipExists()
Indicates whether a membership relation exists or not.
public String toString()
toString
in class Object
Object.toString()
public GroupMembershipExistenceResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2024. All rights reserved.