public class DescribeCustomerGatewaysRequest extends AmazonWebServiceRequest implements java.io.Serializable
DescribeCustomerGateways operation.
Gives you information about your customer gateways. You can filter the results to return information only about customer gateways that match criteria you specify. For example, you could ask to get information about a particular customer gateway (or all) only if the gateway's state is pending or available. You can specify multiple filters (e.g., the customer gateway has a particular IP address for the Internet-routable external interface, and the gateway's state is pending or available). The result includes information for a particular customer 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.
| コンストラクタと説明 |
|---|
DescribeCustomerGatewaysRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getCustomerGatewayIds()
A set of one or more customer gateway IDs.
|
java.util.List<Filter> |
getFilters()
A list of filters used to match properties for Customer Gateways.
|
int |
hashCode() |
void |
setCustomerGatewayIds(java.util.Collection<java.lang.String> customerGatewayIds)
A set of one or more customer gateway IDs.
|
void |
setFilters(java.util.Collection<Filter> filters)
A list of filters used to match properties for Customer Gateways.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeCustomerGatewaysRequest |
withCustomerGatewayIds(java.util.Collection<java.lang.String> customerGatewayIds)
A set of one or more customer gateway IDs.
|
DescribeCustomerGatewaysRequest |
withCustomerGatewayIds(java.lang.String... customerGatewayIds)
A set of one or more customer gateway IDs.
|
DescribeCustomerGatewaysRequest |
withFilters(java.util.Collection<Filter> filters)
A list of filters used to match properties for Customer Gateways.
|
DescribeCustomerGatewaysRequest |
withFilters(Filter... filters)
A list of filters used to match properties for Customer Gateways.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic java.util.List<java.lang.String> getCustomerGatewayIds()
public void setCustomerGatewayIds(java.util.Collection<java.lang.String> customerGatewayIds)
customerGatewayIds - A set of one or more customer gateway IDs.public DescribeCustomerGatewaysRequest withCustomerGatewayIds(java.lang.String... customerGatewayIds)
Returns a reference to this object so that method calls can be chained together.
customerGatewayIds - A set of one or more customer gateway IDs.public DescribeCustomerGatewaysRequest withCustomerGatewayIds(java.util.Collection<java.lang.String> customerGatewayIds)
Returns a reference to this object so that method calls can be chained together.
customerGatewayIds - A set of one or more customer gateway IDs.public java.util.List<Filter> getFilters()
public void setFilters(java.util.Collection<Filter> filters)
filters - A list of filters used to match properties for Customer Gateways. For
a complete reference to the available filter keys for this operation,
see the Amazon
EC2 API reference.public DescribeCustomerGatewaysRequest 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 Customer Gateways. For
a complete reference to the available filter keys for this operation,
see the Amazon
EC2 API reference.public DescribeCustomerGatewaysRequest 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 Customer 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