public class DescribeVpnGatewaysRequest extends AmazonWebServiceRequest implements java.io.Serializable
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.
| コンストラクタと説明 |
|---|
DescribeVpnGatewaysRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<Filter> |
getFilters()
A list of filters used to match properties for VPN Gateways.
|
java.util.List<java.lang.String> |
getVpnGatewayIds()
A list of filters used to match properties for VPN Gateways.
|
int |
hashCode() |
void |
setFilters(java.util.Collection<Filter> filters)
A list of filters used to match properties for VPN Gateways.
|
void |
setVpnGatewayIds(java.util.Collection<java.lang.String> vpnGatewayIds)
A list of filters used to match properties for VPN Gateways.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeVpnGatewaysRequest |
withFilters(java.util.Collection<Filter> filters)
A list of filters used to match properties for VPN Gateways.
|
DescribeVpnGatewaysRequest |
withFilters(Filter... filters)
A list of filters used to match properties for VPN Gateways.
|
DescribeVpnGatewaysRequest |
withVpnGatewayIds(java.util.Collection<java.lang.String> vpnGatewayIds)
A list of filters used to match properties for VPN Gateways.
|
DescribeVpnGatewaysRequest |
withVpnGatewayIds(java.lang.String... vpnGatewayIds)
A list of filters used to match properties for VPN Gateways.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic java.util.List<java.lang.String> getVpnGatewayIds()
public void setVpnGatewayIds(java.util.Collection<java.lang.String> vpnGatewayIds)
vpnGatewayIds - A list of filters used to match properties for VPN Gateways. For a
complete reference to the available filter keys for this operation,
see the Amazon
EC2 API reference.public DescribeVpnGatewaysRequest withVpnGatewayIds(java.lang.String... vpnGatewayIds)
Returns a reference to this object so that method calls can be chained together.
vpnGatewayIds - A list of filters used to match properties for VPN Gateways. For a
complete reference to the available filter keys for this operation,
see the Amazon
EC2 API reference.public DescribeVpnGatewaysRequest withVpnGatewayIds(java.util.Collection<java.lang.String> vpnGatewayIds)
Returns a reference to this object so that method calls can be chained together.
vpnGatewayIds - A list of filters used to match properties for VPN Gateways. For a
complete reference to the available filter keys for this operation,
see the Amazon
EC2 API reference.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 Gateways. For a
complete reference to the available filter keys for this operation,
see the Amazon
EC2 API reference.public DescribeVpnGatewaysRequest 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 Gateways. For a
complete reference to the available filter keys for this operation,
see the Amazon
EC2 API reference.public DescribeVpnGatewaysRequest 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 Gateways. 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