Package com.amazonaws.services.ec2.model
Class CreateSecurityGroupResult
- java.lang.Object
-
- com.amazonaws.services.ec2.model.CreateSecurityGroupResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class CreateSecurityGroupResult extends Object implements Serializable, Cloneable
Contains the output of CreateSecurityGroup.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CreateSecurityGroupResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
setGroupId
public void setGroupId(String groupId)
The ID of the security group.
- Parameters:
groupId
- The ID of the security group.
-
getGroupId
public String getGroupId()
The ID of the security group.
- Returns:
- The ID of the security group.
-
withGroupId
public CreateSecurityGroupResult withGroupId(String groupId)
The ID of the security group.
- Parameters:
groupId
- The ID of the security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateSecurityGroupResult clone()
-
-