@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeInternetGatewaysRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeInternetGatewaysRequest>
NOOP
Constructor and Description |
---|
DescribeInternetGatewaysRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeInternetGatewaysRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<DescribeInternetGatewaysRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<Filter> |
getFilters()
The filters.
|
List<String> |
getInternetGatewayIds()
The IDs of the internet gateways.
|
Integer |
getMaxResults()
The maximum number of items to return for this request.
|
String |
getNextToken()
The token returned from a previous paginated request.
|
int |
hashCode() |
void |
setFilters(Collection<Filter> filters)
The filters.
|
void |
setInternetGatewayIds(Collection<String> internetGatewayIds)
The IDs of the internet gateways.
|
void |
setMaxResults(Integer maxResults)
The maximum number of items to return for this request.
|
void |
setNextToken(String nextToken)
The token returned from a previous paginated request.
|
String |
toString()
Returns a string representation of this object.
|
DescribeInternetGatewaysRequest |
withFilters(Collection<Filter> filters)
The filters.
|
DescribeInternetGatewaysRequest |
withFilters(Filter... filters)
The filters.
|
DescribeInternetGatewaysRequest |
withInternetGatewayIds(Collection<String> internetGatewayIds)
The IDs of the internet gateways.
|
DescribeInternetGatewaysRequest |
withInternetGatewayIds(String... internetGatewayIds)
The IDs of the internet gateways.
|
DescribeInternetGatewaysRequest |
withMaxResults(Integer maxResults)
The maximum number of items to return for this request.
|
DescribeInternetGatewaysRequest |
withNextToken(String nextToken)
The token returned from a previous paginated request.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<Filter> getFilters()
The filters.
attachment.state
- The current state of the attachment between the gateway and the VPC (
available
). Present only if a VPC is attached.
attachment.vpc-id
- The ID of an attached VPC.
internet-gateway-id
- The ID of the Internet gateway.
owner-id
- The ID of the Amazon Web Services account that owns the internet gateway.
tag
:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in
the filter name and the tag value as the filter value. For example, to find all resources that have a tag with
the key Owner
and the value TeamA
, specify tag:Owner
for the filter name
and TeamA
for the filter value.
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned
a tag with a specific key, regardless of the tag value.
attachment.state
- The current state of the attachment between the gateway and the VPC (
available
). Present only if a VPC is attached.
attachment.vpc-id
- The ID of an attached VPC.
internet-gateway-id
- The ID of the Internet gateway.
owner-id
- The ID of the Amazon Web Services account that owns the internet gateway.
tag
:<key> - The key/value combination of a tag assigned to the resource. Use the tag
key in the filter name and the tag value as the filter value. For example, to find all resources that
have a tag with the key Owner
and the value TeamA
, specify
tag:Owner
for the filter name and TeamA
for the filter value.
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources
assigned a tag with a specific key, regardless of the tag value.
public void setFilters(Collection<Filter> filters)
The filters.
attachment.state
- The current state of the attachment between the gateway and the VPC (
available
). Present only if a VPC is attached.
attachment.vpc-id
- The ID of an attached VPC.
internet-gateway-id
- The ID of the Internet gateway.
owner-id
- The ID of the Amazon Web Services account that owns the internet gateway.
tag
:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in
the filter name and the tag value as the filter value. For example, to find all resources that have a tag with
the key Owner
and the value TeamA
, specify tag:Owner
for the filter name
and TeamA
for the filter value.
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned
a tag with a specific key, regardless of the tag value.
filters
- The filters.
attachment.state
- The current state of the attachment between the gateway and the VPC (
available
). Present only if a VPC is attached.
attachment.vpc-id
- The ID of an attached VPC.
internet-gateway-id
- The ID of the Internet gateway.
owner-id
- The ID of the Amazon Web Services account that owns the internet gateway.
tag
:<key> - The key/value combination of a tag assigned to the resource. Use the tag
key in the filter name and the tag value as the filter value. For example, to find all resources that have
a tag with the key Owner
and the value TeamA
, specify tag:Owner
for
the filter name and TeamA
for the filter value.
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources
assigned a tag with a specific key, regardless of the tag value.
public DescribeInternetGatewaysRequest withFilters(Filter... filters)
The filters.
attachment.state
- The current state of the attachment between the gateway and the VPC (
available
). Present only if a VPC is attached.
attachment.vpc-id
- The ID of an attached VPC.
internet-gateway-id
- The ID of the Internet gateway.
owner-id
- The ID of the Amazon Web Services account that owns the internet gateway.
tag
:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in
the filter name and the tag value as the filter value. For example, to find all resources that have a tag with
the key Owner
and the value TeamA
, specify tag:Owner
for the filter name
and TeamA
for the filter value.
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned
a tag with a specific key, regardless of the tag value.
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override
the existing values.
filters
- The filters.
attachment.state
- The current state of the attachment between the gateway and the VPC (
available
). Present only if a VPC is attached.
attachment.vpc-id
- The ID of an attached VPC.
internet-gateway-id
- The ID of the Internet gateway.
owner-id
- The ID of the Amazon Web Services account that owns the internet gateway.
tag
:<key> - The key/value combination of a tag assigned to the resource. Use the tag
key in the filter name and the tag value as the filter value. For example, to find all resources that have
a tag with the key Owner
and the value TeamA
, specify tag:Owner
for
the filter name and TeamA
for the filter value.
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources
assigned a tag with a specific key, regardless of the tag value.
public DescribeInternetGatewaysRequest withFilters(Collection<Filter> filters)
The filters.
attachment.state
- The current state of the attachment between the gateway and the VPC (
available
). Present only if a VPC is attached.
attachment.vpc-id
- The ID of an attached VPC.
internet-gateway-id
- The ID of the Internet gateway.
owner-id
- The ID of the Amazon Web Services account that owns the internet gateway.
tag
:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in
the filter name and the tag value as the filter value. For example, to find all resources that have a tag with
the key Owner
and the value TeamA
, specify tag:Owner
for the filter name
and TeamA
for the filter value.
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned
a tag with a specific key, regardless of the tag value.
filters
- The filters.
attachment.state
- The current state of the attachment between the gateway and the VPC (
available
). Present only if a VPC is attached.
attachment.vpc-id
- The ID of an attached VPC.
internet-gateway-id
- The ID of the Internet gateway.
owner-id
- The ID of the Amazon Web Services account that owns the internet gateway.
tag
:<key> - The key/value combination of a tag assigned to the resource. Use the tag
key in the filter name and the tag value as the filter value. For example, to find all resources that have
a tag with the key Owner
and the value TeamA
, specify tag:Owner
for
the filter name and TeamA
for the filter value.
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources
assigned a tag with a specific key, regardless of the tag value.
public List<String> getInternetGatewayIds()
The IDs of the internet gateways.
Default: Describes all your internet gateways.
Default: Describes all your internet gateways.
public void setInternetGatewayIds(Collection<String> internetGatewayIds)
The IDs of the internet gateways.
Default: Describes all your internet gateways.
internetGatewayIds
- The IDs of the internet gateways.
Default: Describes all your internet gateways.
public DescribeInternetGatewaysRequest withInternetGatewayIds(String... internetGatewayIds)
The IDs of the internet gateways.
Default: Describes all your internet gateways.
NOTE: This method appends the values to the existing list (if any). Use
setInternetGatewayIds(java.util.Collection)
or withInternetGatewayIds(java.util.Collection)
if
you want to override the existing values.
internetGatewayIds
- The IDs of the internet gateways.
Default: Describes all your internet gateways.
public DescribeInternetGatewaysRequest withInternetGatewayIds(Collection<String> internetGatewayIds)
The IDs of the internet gateways.
Default: Describes all your internet gateways.
internetGatewayIds
- The IDs of the internet gateways.
Default: Describes all your internet gateways.
public void setNextToken(String nextToken)
The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
nextToken
- The token returned from a previous paginated request. Pagination continues from the end of the items
returned by the previous request.public String getNextToken()
The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
public DescribeInternetGatewaysRequest withNextToken(String nextToken)
The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
nextToken
- The token returned from a previous paginated request. Pagination continues from the end of the items
returned by the previous request.public void setMaxResults(Integer maxResults)
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
maxResults
- The maximum number of items to return for this request. To get the next page of items, make another
request with the token returned in the output. For more information, see Pagination.public Integer getMaxResults()
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
public DescribeInternetGatewaysRequest withMaxResults(Integer maxResults)
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
maxResults
- The maximum number of items to return for this request. To get the next page of items, make another
request with the token returned in the output. For more information, see Pagination.public Request<DescribeInternetGatewaysRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeInternetGatewaysRequest>
public String toString()
toString
in class Object
Object.toString()
public DescribeInternetGatewaysRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()