public class GroupIdentifier
extends java.lang.Object
implements java.io.Serializable
Describes a security group.
| Constructor and Description |
|---|
GroupIdentifier() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getGroupId()
The ID of the security group.
|
java.lang.String |
getGroupName()
The name of the security group.
|
int |
hashCode() |
void |
setGroupId(java.lang.String groupId)
The ID of the security group.
|
void |
setGroupName(java.lang.String groupName)
The name of the security group.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GroupIdentifier |
withGroupId(java.lang.String groupId)
The ID of the security group.
|
GroupIdentifier |
withGroupName(java.lang.String groupName)
The name of the security group.
|
public java.lang.String getGroupName()
public void setGroupName(java.lang.String groupName)
groupName - The name of the security group.public GroupIdentifier withGroupName(java.lang.String groupName)
Returns a reference to this object so that method calls can be chained together.
groupName - The name of the security group.public java.lang.String getGroupId()
public void setGroupId(java.lang.String groupId)
groupId - The ID of the security group.public GroupIdentifier withGroupId(java.lang.String groupId)
Returns a reference to this object so that method calls can be chained together.
groupId - The ID of the security group.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.