com.amazonaws.services.ec2.model
Class DescribeCustomerGatewaysRequest

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

public class DescribeCustomerGatewaysRequest
extends AmazonWebServiceRequest


Constructor Summary
DescribeCustomerGatewaysRequest()
           
 
Method Summary
 List<String> getCustomerGatewayIds()
          A set of one or more customer gateway IDs.
 List<Filter> getFilters()
           
 void setCustomerGatewayIds(Collection<String> customerGatewayIds)
          A set of one or more customer gateway IDs.
 void setFilters(Collection<Filter> filters)
           
 String toString()
           
 DescribeCustomerGatewaysRequest withCustomerGatewayIds(Collection<String> customerGatewayIds)
          A set of one or more customer gateway IDs.
 DescribeCustomerGatewaysRequest withCustomerGatewayIds(String... customerGatewayIds)
          A set of one or more customer gateway IDs.
 DescribeCustomerGatewaysRequest withFilters(Collection<Filter> filters)
           Returns a reference to this object so that method calls can be chained together.
 DescribeCustomerGatewaysRequest withFilters(Filter... filters)
           Returns a reference to this object so that method calls can be chained together.
 
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

DescribeCustomerGatewaysRequest

public DescribeCustomerGatewaysRequest()
Method Detail

getCustomerGatewayIds

public List<String> getCustomerGatewayIds()
A set of one or more customer gateway IDs.

Returns:
A set of one or more customer gateway IDs.

setCustomerGatewayIds

public void setCustomerGatewayIds(Collection<String> customerGatewayIds)
A set of one or more customer gateway IDs.

Parameters:
customerGatewayIds - A set of one or more customer gateway IDs.

withCustomerGatewayIds

public DescribeCustomerGatewaysRequest withCustomerGatewayIds(String... customerGatewayIds)
A set of one or more customer gateway IDs.

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

Parameters:
customerGatewayIds - A set of one or more customer gateway IDs.
Returns:
A reference to this updated object so that method calls can be chained together.

withCustomerGatewayIds

public DescribeCustomerGatewaysRequest withCustomerGatewayIds(Collection<String> customerGatewayIds)
A set of one or more customer gateway IDs.

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

Parameters:
customerGatewayIds - A set of one or more customer gateway IDs.
Returns:
A reference to this updated object so that method calls can be chained together.

getFilters

public List<Filter> getFilters()
Returns:

setFilters

public void setFilters(Collection<Filter> filters)
Parameters:
filters -

withFilters

public DescribeCustomerGatewaysRequest withFilters(Filter... filters)

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

Parameters:
filters -
Returns:
A reference to this updated object so that method calls can be chained together.

withFilters

public DescribeCustomerGatewaysRequest withFilters(Collection<Filter> filters)

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

Parameters:
filters -
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.