|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.CreateSecurityGroupRequest
public class CreateSecurityGroupRequest
Represents a request to create a new EC2 security group.
| Constructor Summary | |
|---|---|
CreateSecurityGroupRequest()
|
|
| Method Summary | |
|---|---|
String |
getDescription()
Description of the group. |
String |
getGroupName()
Name of the security group. |
void |
setDescription(String description)
Description of the group. |
void |
setGroupName(String groupName)
Name of the security group. |
String |
toString()
|
CreateSecurityGroupRequest |
withDescription(String description)
Description of the group. |
CreateSecurityGroupRequest |
withGroupName(String groupName)
Name of the security group. |
| Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
|---|
copyPrivateRequestParameters |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CreateSecurityGroupRequest()
| Method Detail |
|---|
public String getGroupName()
public void setGroupName(String groupName)
groupName - Name of the security group.public CreateSecurityGroupRequest withGroupName(String groupName)
Returns a reference to this object so that method calls can be chained together.
groupName - Name of the security group.
public String getDescription()
public void setDescription(String description)
description - Description of the group. This is informational only.public CreateSecurityGroupRequest withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description - Description of the group. This is informational only.
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||