public class CreateSecurityGroupResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the output of CreateSecurityGroup.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
groupId
The ID of the security group.
|
Constructor and Description |
---|
CreateSecurityGroupResult() |
Modifier and Type | Method and Description |
---|---|
CreateSecurityGroupResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getGroupId()
The ID of the security group.
|
int |
hashCode() |
void |
setGroupId(java.lang.String groupId)
The ID of the security group.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateSecurityGroupResult |
withGroupId(java.lang.String groupId)
The ID of the security group.
|
public void setGroupId(java.lang.String groupId)
The ID of the security group.
groupId
- The ID of the security group.public java.lang.String getGroupId()
The ID of the security group.
public CreateSecurityGroupResult withGroupId(java.lang.String groupId)
The ID of the security group.
groupId
- The ID of the security group.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateSecurityGroupResult clone()
clone
in class java.lang.Object