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