Overview | Package | Class | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.amazonaws.services.ec2.model
Class DescribeVpnGatewaysRequest

    java.lang.Object
      com.amazonaws.AmazonWebServiceRequest
          com.amazonaws.services.ec2.model.DescribeVpnGatewaysRequest

    public class DescribeVpnGatewaysRequest

extends AmazonWebServiceRequest

Container for the parameters to the `DescribeVpnGateways operation`.

Gives you information about your VPN gateways. You can filter the results to return information only about VPN gateways that match criteria you specify. For example, you could ask to get information about a particular VPN gateway (or all) only if the gateway's state is pending or available. You can specify multiple filters (e.g., the VPN gateway is in a particular Availability Zone and the gateway's state is pending or available). The result includes information for a particular VPN gateway only if the gateway matches all your filters. If there's no match, no special message is returned; the response is simply empty. The following table shows the available filters.

See Also:
  `AmazonEC2.describeVpnGateways(DescribeVpnGatewaysRequest)`

Constructor Summary
`DescribeVpnGatewaysRequest()`

Method Summary
`List<Filter>` | `getFilters()`
`List<String>` | `getVpnGatewayIds()` A set of one or more VPN Gateway IDs.
`void` | `setFilters(Collection<Filter> filters)`
`void` | `setVpnGatewayIds(Collection<String> vpnGatewayIds)` A set of one or more VPN Gateway IDs.
`String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
`DescribeVpnGatewaysRequest` | `withFilters(Collection<Filter> filters)` Returns a reference to this object so that method calls can be chained together.
`DescribeVpnGatewaysRequest` | `withFilters(Filter... filters)` Returns a reference to this object so that method calls can be chained together.
`DescribeVpnGatewaysRequest` | `withVpnGatewayIds(Collection<String> vpnGatewayIds)` A set of one or more VPN Gateway IDs.
`DescribeVpnGatewaysRequest` | `withVpnGatewayIds(String... vpnGatewayIds)` A set of one or more VPN Gateway IDs.

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

### DescribeVpnGatewaysRequest

    public DescribeVpnGatewaysRequest()

Method Detail

### getVpnGatewayIds

    public List<String> getVpnGatewayIds()

  A set of one or more VPN Gateway IDs.

  Returns:
    A set of one or more VPN Gateway IDs.

### setVpnGatewayIds

    public void setVpnGatewayIds(Collection<String> vpnGatewayIds)

  A set of one or more VPN Gateway IDs.

  Parameters:
    `vpnGatewayIds` - A set of one or more VPN Gateway IDs.

### withVpnGatewayIds

    public DescribeVpnGatewaysRequest withVpnGatewayIds(String... vpnGatewayIds)

  A set of one or more VPN Gateway IDs.

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

  Parameters:
    `vpnGatewayIds` - A set of one or more VPN Gateway IDs.
  Returns:
    A reference to this updated object so that method calls can be chained together.

### withVpnGatewayIds

    public DescribeVpnGatewaysRequest withVpnGatewayIds(Collection<String> vpnGatewayIds)

  A set of one or more VPN Gateway IDs.

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

  Parameters:
    `vpnGatewayIds` - A set of one or more VPN 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 DescribeVpnGatewaysRequest 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 DescribeVpnGatewaysRequest 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()

  Returns a string representation of this object; useful for testing and debugging.

  Overrides:
    `toString` in class `Object`
  Returns:
    A string representation of this object.
  See Also:
    `Object.toString()`

Overview | Package | Class | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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