@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GroupIdentifier extends Object implements Serializable, Cloneable
Describes a security group.
Constructor and Description |
---|
GroupIdentifier() |
Modifier and Type | Method and Description |
---|---|
GroupIdentifier |
clone() |
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 void setGroupName(String groupName)
The name of the security group.
groupName
- The name of the security group.public String getGroupName()
The name of the security group.
public GroupIdentifier withGroupName(String groupName)
The name of the security group.
groupName
- The name of the security group.public void setGroupId(String groupId)
The ID of the security group.
groupId
- The ID of the security group.public String getGroupId()
The ID of the security group.
public GroupIdentifier withGroupId(String groupId)
The ID of the security group.
groupId
- The ID of the security group.public String toString()
toString
in class Object
Object.toString()
public GroupIdentifier clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.