public class GroupIdentifier extends Object implements Serializable
Describes a security group.
Constructor and Description |
---|
GroupIdentifier() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getGroupId()
The ID of the security group.
|
String |
getGroupName()
The name of the security group.
|
int |
hashCode() |
void |
setGroupId(String groupId)
The ID of the security group.
|
void |
setGroupName(String groupName)
The name of the security group.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GroupIdentifier |
withGroupId(String groupId)
The ID of the security group.
|
GroupIdentifier |
withGroupName(String groupName)
The name of the security group.
|
public String getGroupName()
public void setGroupName(String groupName)
groupName
- The name of the security group.public GroupIdentifier withGroupName(String groupName)
Returns a reference to this object so that method calls can be chained together.
groupName
- The name of the security group.public String getGroupId()
public void setGroupId(String groupId)
groupId
- The ID of the security group.public GroupIdentifier withGroupId(String groupId)
Returns a reference to this object so that method calls can be chained together.
groupId
- The ID of the security group.public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.