|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.DescribeVpnGatewaysRequest
public class DescribeVpnGatewaysRequest
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.
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, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DescribeVpnGatewaysRequest()
Method Detail |
---|
public List<String> getVpnGatewayIds()
public void setVpnGatewayIds(Collection<String> vpnGatewayIds)
vpnGatewayIds
- A set of one or more VPN Gateway IDs.public DescribeVpnGatewaysRequest withVpnGatewayIds(String... vpnGatewayIds)
Returns a reference to this object so that method calls can be chained together.
vpnGatewayIds
- A set of one or more VPN Gateway IDs.
public DescribeVpnGatewaysRequest withVpnGatewayIds(Collection<String> vpnGatewayIds)
Returns a reference to this object so that method calls can be chained together.
vpnGatewayIds
- A set of one or more VPN Gateway IDs.
public List<Filter> getFilters()
public void setFilters(Collection<Filter> filters)
filters
- public DescribeVpnGatewaysRequest withFilters(Filter... filters)
Returns a reference to this object so that method calls can be chained together.
filters
-
public DescribeVpnGatewaysRequest withFilters(Collection<Filter> filters)
Returns a reference to this object so that method calls can be chained together.
filters
-
public String toString()
toString
in class Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |