com.amazonaws.services.ec2.model
Class DescribeSecurityGroupsRequest

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

public class DescribeSecurityGroupsRequest
extends AmazonWebServiceRequest

A request to describe the Amazon EC2 security groups for your account.


Constructor Summary
DescribeSecurityGroupsRequest()
           
 
Method Summary
 List<String> getGroupNames()
          The optional list of Amazon EC2 security groups to describe.
 void setGroupNames(Collection<String> groupNames)
          The optional list of Amazon EC2 security groups to describe.
 String toString()
           
 DescribeSecurityGroupsRequest withGroupNames(Collection<String> groupNames)
          The optional list of Amazon EC2 security groups to describe.
 DescribeSecurityGroupsRequest withGroupNames(String... groupNames)
          The optional list of Amazon EC2 security groups to describe.
 
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

DescribeSecurityGroupsRequest

public DescribeSecurityGroupsRequest()
Method Detail

getGroupNames

public List<String> getGroupNames()
The optional list of Amazon EC2 security groups to describe.

Returns:
The optional list of Amazon EC2 security groups to describe.

setGroupNames

public void setGroupNames(Collection<String> groupNames)
The optional list of Amazon EC2 security groups to describe.

Parameters:
groupNames - The optional list of Amazon EC2 security groups to describe.

withGroupNames

public DescribeSecurityGroupsRequest withGroupNames(String... groupNames)
The optional list of Amazon EC2 security groups to describe.

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

Parameters:
groupNames - The optional list of Amazon EC2 security groups to describe.
Returns:
A reference to this updated object so that method calls can be chained together.

withGroupNames

public DescribeSecurityGroupsRequest withGroupNames(Collection<String> groupNames)
The optional list of Amazon EC2 security groups to describe.

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

Parameters:
groupNames - The optional list of Amazon EC2 security groups to describe.
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.