public class DescribeVpnConnectionsRequest extends AmazonWebServiceRequest implements Serializable, DryRunSupportedRequest<DescribeVpnConnectionsRequest>
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.
Constructor and Description |
---|
DescribeVpnConnectionsRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Request<DescribeVpnConnectionsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<Filter> |
getFilters()
A list of filters used to match properties for VPN Connections.
|
List<String> |
getVpnConnectionIds()
A VPN connection ID.
|
int |
hashCode() |
void |
setFilters(Collection<Filter> filters)
A list of filters used to match properties for VPN Connections.
|
void |
setVpnConnectionIds(Collection<String> vpnConnectionIds)
A VPN connection ID.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeVpnConnectionsRequest |
withFilters(Collection<Filter> filters)
A list of filters used to match properties for VPN Connections.
|
DescribeVpnConnectionsRequest |
withFilters(Filter... filters)
A list of filters used to match properties for VPN Connections.
|
DescribeVpnConnectionsRequest |
withVpnConnectionIds(Collection<String> vpnConnectionIds)
A VPN connection ID.
|
DescribeVpnConnectionsRequest |
withVpnConnectionIds(String... vpnConnectionIds)
A VPN connection ID.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public List<String> getVpnConnectionIds()
public void setVpnConnectionIds(Collection<String> vpnConnectionIds)
vpnConnectionIds
- A VPN connection ID. More than one may be specified per request.public DescribeVpnConnectionsRequest withVpnConnectionIds(String... vpnConnectionIds)
Returns a reference to this object so that method calls can be chained together.
vpnConnectionIds
- A VPN connection ID. More than one may be specified per request.public DescribeVpnConnectionsRequest withVpnConnectionIds(Collection<String> vpnConnectionIds)
Returns a reference to this object so that method calls can be chained together.
vpnConnectionIds
- A VPN connection ID. More than one may be specified per request.public List<Filter> getFilters()
public void setFilters(Collection<Filter> filters)
filters
- A list of filters used to match properties for VPN Connections. For a
complete reference to the available filter keys for this operation,
see the Amazon
EC2 API reference.public DescribeVpnConnectionsRequest withFilters(Filter... filters)
Returns a reference to this object so that method calls can be chained together.
filters
- A list of filters used to match properties for VPN Connections. For a
complete reference to the available filter keys for this operation,
see the Amazon
EC2 API reference.public DescribeVpnConnectionsRequest withFilters(Collection<Filter> filters)
Returns a reference to this object so that method calls can be chained together.
filters
- A list of filters used to match properties for VPN Connections. For a
complete reference to the available filter keys for this operation,
see the Amazon
EC2 API reference.public Request<DescribeVpnConnectionsRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeVpnConnectionsRequest>
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.