@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateSecurityGroupResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the output of CreateSecurityGroup.
Constructor and Description |
---|
CreateSecurityGroupResult() |
Modifier and Type | Method and Description |
---|---|
CreateSecurityGroupResult |
clone() |
boolean |
equals(Object obj) |
String |
getGroupId()
The ID of the security group.
|
int |
hashCode() |
void |
setGroupId(String groupId)
The ID of the security group.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateSecurityGroupResult |
withGroupId(String groupId)
The ID of the security group.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 CreateSecurityGroupResult 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 CreateSecurityGroupResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.