com.amazonaws.services.ec2.model
Class CreateSecurityGroupRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.CreateSecurityGroupRequest

public class CreateSecurityGroupRequest
extends AmazonWebServiceRequest

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

CreateSecurityGroupRequest

public CreateSecurityGroupRequest()
Method Detail

getGroupName

public String getGroupName()
Name of the security group.

Returns:
Name of the security group.

setGroupName

public void setGroupName(String groupName)
Name of the security group.

Parameters:
groupName - Name of the security group.

withGroupName

public CreateSecurityGroupRequest withGroupName(String groupName)
Name of the security group.

Returns a reference to this object so that method calls can be chained together.

Parameters:
groupName - Name of the security group.
Returns:
A reference to this updated object so that method calls can be chained together.

getDescription

public String getDescription()
Description of the group. This is informational only.

Returns:
Description of the group. This is informational only.

setDescription

public void setDescription(String description)
Description of the group. This is informational only.

Parameters:
description - Description of the group. This is informational only.

withDescription

public CreateSecurityGroupRequest withDescription(String description)
Description of the group. This is informational only.

Returns a reference to this object so that method calls can be chained together.

Parameters:
description - Description of the group. This is informational only.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.