public class DescribeVpnConnectionsRequest extends AmazonWebServiceRequest implements java.io.Serializable
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.
| コンストラクタと説明 |
|---|
DescribeVpnConnectionsRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<Filter> |
getFilters()
A list of filters used to match properties for VPN Connections.
|
java.util.List<java.lang.String> |
getVpnConnectionIds()
A VPN connection ID.
|
int |
hashCode() |
void |
setFilters(java.util.Collection<Filter> filters)
A list of filters used to match properties for VPN Connections.
|
void |
setVpnConnectionIds(java.util.Collection<java.lang.String> vpnConnectionIds)
A VPN connection ID.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeVpnConnectionsRequest |
withFilters(java.util.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(java.util.Collection<java.lang.String> vpnConnectionIds)
A VPN connection ID.
|
DescribeVpnConnectionsRequest |
withVpnConnectionIds(java.lang.String... vpnConnectionIds)
A VPN connection ID.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic java.util.List<java.lang.String> getVpnConnectionIds()
public void setVpnConnectionIds(java.util.Collection<java.lang.String> vpnConnectionIds)
vpnConnectionIds - A VPN connection ID. More than one may be specified per request.public DescribeVpnConnectionsRequest withVpnConnectionIds(java.lang.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(java.util.Collection<java.lang.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 java.util.List<Filter> getFilters()
public void setFilters(java.util.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(java.util.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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object