public class DescribeInternetGatewaysRequest extends AmazonWebServiceRequest implements java.io.Serializable
DescribeInternetGateways operation.
Gives you information about your Internet gateways. You can filter the results to return information only about Internet gateways that match criteria you specify. For example, you could get information only about gateways with particular tags. The Internet gateway must match at least one of the specified values for it to be included in the results.
You can specify multiple filters (e.g., the Internet gateway is attached to a particular VPC and is tagged with a particular value). The result includes information for a particular Internet gateway only if the gateway matches all your filters. If there's no match, no special message is returned; the response is simply empty.
You can use wildcards with the filter values: an asterisk matches zero or more characters, and ? matches exactly one character. You can
escape special characters using a backslash before the character. For example, a value of \*amazon\?\\ searches for the literal string
*amazon?\ .
| コンストラクタと説明 |
|---|
DescribeInternetGatewaysRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<Filter> |
getFilters()
A list of filters used to match properties for Internet Gateways.
|
java.util.List<java.lang.String> |
getInternetGatewayIds()
One or more Internet gateway IDs.
|
int |
hashCode() |
void |
setFilters(java.util.Collection<Filter> filters)
A list of filters used to match properties for Internet Gateways.
|
void |
setInternetGatewayIds(java.util.Collection<java.lang.String> internetGatewayIds)
One or more Internet gateway IDs.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeInternetGatewaysRequest |
withFilters(java.util.Collection<Filter> filters)
A list of filters used to match properties for Internet Gateways.
|
DescribeInternetGatewaysRequest |
withFilters(Filter... filters)
A list of filters used to match properties for Internet Gateways.
|
DescribeInternetGatewaysRequest |
withInternetGatewayIds(java.util.Collection<java.lang.String> internetGatewayIds)
One or more Internet gateway IDs.
|
DescribeInternetGatewaysRequest |
withInternetGatewayIds(java.lang.String... internetGatewayIds)
One or more Internet gateway IDs.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic java.util.List<java.lang.String> getInternetGatewayIds()
public void setInternetGatewayIds(java.util.Collection<java.lang.String> internetGatewayIds)
internetGatewayIds - One or more Internet gateway IDs.public DescribeInternetGatewaysRequest withInternetGatewayIds(java.lang.String... internetGatewayIds)
Returns a reference to this object so that method calls can be chained together.
internetGatewayIds - One or more Internet gateway IDs.public DescribeInternetGatewaysRequest withInternetGatewayIds(java.util.Collection<java.lang.String> internetGatewayIds)
Returns a reference to this object so that method calls can be chained together.
internetGatewayIds - One or more Internet 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 Internet Gateways. For
a complete reference to the available filter keys for this operation,
see the Amazon
EC2 API reference.public DescribeInternetGatewaysRequest 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 Internet Gateways. For
a complete reference to the available filter keys for this operation,
see the Amazon
EC2 API reference.public DescribeInternetGatewaysRequest 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 Internet 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