@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateSecurityGroupResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description | 
|---|
| CreateSecurityGroupResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| CreateSecurityGroupResult | clone() | 
| boolean | equals(Object obj) | 
| String | getGroupId()
 The ID of the security group. | 
| List<Tag> | getTags()
 The tags assigned to the security group. | 
| int | hashCode() | 
| void | setGroupId(String groupId)
 The ID of the security group. | 
| void | setTags(Collection<Tag> tags)
 The tags assigned to the security group. | 
| String | toString()Returns a string representation of this object. | 
| CreateSecurityGroupResult | withGroupId(String groupId)
 The ID of the security group. | 
| CreateSecurityGroupResult | withTags(Collection<Tag> tags)
 The tags assigned to the security group. | 
| CreateSecurityGroupResult | withTags(Tag... tags)
 The tags assigned to the security group. | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic 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 CreateSecurityGroupResult withGroupId(String groupId)
The ID of the security group.
groupId - The ID of the security group.public List<Tag> getTags()
The tags assigned to the security group.
public void setTags(Collection<Tag> tags)
The tags assigned to the security group.
tags - The tags assigned to the security group.public CreateSecurityGroupResult withTags(Tag... tags)
The tags assigned to the security group.
 NOTE: This method appends the values to the existing list (if any). Use
 setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the
 existing values.
 
tags - The tags assigned to the security group.public CreateSecurityGroupResult withTags(Collection<Tag> tags)
The tags assigned to the security group.
tags - The tags assigned to the security group.public String toString()
toString in class ObjectObject.toString()public CreateSecurityGroupResult clone()