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 DescribeVpnConnectionsRequest

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

    public class DescribeVpnConnectionsRequest

extends AmazonWebServiceRequest

Container for the parameters to the `DescribeVpnConnections operation`.

Gives you information about your VPN connections.

IMPORTANT: We strongly recommend you use HTTPS when calling this operation because the response contains sensitive cryptographic information for configuring your customer gateway. You can filter the results to return information only about VPN connections that match criteria you specify. For example, you could ask to get information about a particular VPN connection (or all) only if the VPN's state is pending or available. You can specify multiple filters (e.g., the VPN connection is associated with a particular VPN gateway, and the gateway's state is pending or available). The result includes information for a particular VPN connection only if the VPN connection 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.describeVpnConnections(DescribeVpnConnectionsRequest)`

Constructor Summary
`DescribeVpnConnectionsRequest()`

Method Summary
`List<String>` | `getVpnConnectionIds()` A VPN connection ID.
`void` | `setVpnConnectionIds(Collection<String> vpnConnectionIds)` A VPN connection ID.
`String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
`DescribeVpnConnectionsRequest` | `withVpnConnectionIds(Collection<String> vpnConnectionIds)` A VPN connection ID.
`DescribeVpnConnectionsRequest` | `withVpnConnectionIds(String... vpnConnectionIds)` A VPN connection ID.

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

### DescribeVpnConnectionsRequest

    public DescribeVpnConnectionsRequest()

Method Detail

### getVpnConnectionIds

    public List<String> getVpnConnectionIds()

  A VPN connection ID. More than one may be specified per request.

  Returns:
    A VPN connection ID. More than one may be specified per request.

### setVpnConnectionIds

    public void setVpnConnectionIds(Collection<String> vpnConnectionIds)

  A VPN connection ID. More than one may be specified per request.

  Parameters:
    `vpnConnectionIds` - A VPN connection ID. More than one may be specified per request.

### withVpnConnectionIds

    public DescribeVpnConnectionsRequest withVpnConnectionIds(String... vpnConnectionIds)

  A VPN connection ID. More than one may be specified per request.

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

  Parameters:
    `vpnConnectionIds` - A VPN connection ID. More than one may be specified per request.
  Returns:
    A reference to this updated object so that method calls can be chained together.

### withVpnConnectionIds

    public DescribeVpnConnectionsRequest withVpnConnectionIds(Collection<String> vpnConnectionIds)

  A VPN connection ID. More than one may be specified per request.

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

  Parameters:
    `vpnConnectionIds` - A VPN connection ID. More than one may be specified per request.
  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.