@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GroupIdentifier extends Object implements Serializable, Cloneable, StructuredPojo
The identifier that contains the Group ID and name of a group.
Constructor and Description |
---|
GroupIdentifier() |
Modifier and Type | Method and Description |
---|---|
GroupIdentifier |
clone() |
boolean |
equals(Object obj) |
String |
getGroupId()
Group ID that matched the group.
|
String |
getGroupName()
Group name that matched the group.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setGroupId(String groupId)
Group ID that matched the group.
|
void |
setGroupName(String groupName)
Group name that matched the group.
|
String |
toString()
Returns a string representation of this object.
|
GroupIdentifier |
withGroupId(String groupId)
Group ID that matched the group.
|
GroupIdentifier |
withGroupName(String groupName)
Group name that matched the group.
|
public void setGroupId(String groupId)
Group ID that matched the group.
groupId
- Group ID that matched the group.public String getGroupId()
Group ID that matched the group.
public GroupIdentifier withGroupId(String groupId)
Group ID that matched the group.
groupId
- Group ID that matched the group.public void setGroupName(String groupName)
Group name that matched the group.
groupName
- Group name that matched the group.public String getGroupName()
Group name that matched the group.
public GroupIdentifier withGroupName(String groupName)
Group name that matched the group.
groupName
- Group name that matched the group.public String toString()
toString
in class Object
Object.toString()
public GroupIdentifier clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.