@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeTransitGatewaysRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeTransitGatewaysRequest>
NOOP
Constructor and Description |
---|
DescribeTransitGatewaysRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeTransitGatewaysRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<DescribeTransitGatewaysRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<Filter> |
getFilters()
One or more filters.
|
Integer |
getMaxResults()
The maximum number of results to return with a single call.
|
String |
getNextToken()
The token for the next page of results.
|
List<String> |
getTransitGatewayIds()
The IDs of the transit gateways.
|
int |
hashCode() |
void |
setFilters(Collection<Filter> filters)
One or more filters.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return with a single call.
|
void |
setNextToken(String nextToken)
The token for the next page of results.
|
void |
setTransitGatewayIds(Collection<String> transitGatewayIds)
The IDs of the transit gateways.
|
String |
toString()
Returns a string representation of this object.
|
DescribeTransitGatewaysRequest |
withFilters(Collection<Filter> filters)
One or more filters.
|
DescribeTransitGatewaysRequest |
withFilters(Filter... filters)
One or more filters.
|
DescribeTransitGatewaysRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return with a single call.
|
DescribeTransitGatewaysRequest |
withNextToken(String nextToken)
The token for the next page of results.
|
DescribeTransitGatewaysRequest |
withTransitGatewayIds(Collection<String> transitGatewayIds)
The IDs of the transit gateways.
|
DescribeTransitGatewaysRequest |
withTransitGatewayIds(String... transitGatewayIds)
The IDs of the transit gateways.
|
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<String> getTransitGatewayIds()
The IDs of the transit gateways.
public void setTransitGatewayIds(Collection<String> transitGatewayIds)
The IDs of the transit gateways.
transitGatewayIds
- The IDs of the transit gateways.public DescribeTransitGatewaysRequest withTransitGatewayIds(String... transitGatewayIds)
The IDs of the transit gateways.
NOTE: This method appends the values to the existing list (if any). Use
setTransitGatewayIds(java.util.Collection)
or withTransitGatewayIds(java.util.Collection)
if
you want to override the existing values.
transitGatewayIds
- The IDs of the transit gateways.public DescribeTransitGatewaysRequest withTransitGatewayIds(Collection<String> transitGatewayIds)
The IDs of the transit gateways.
transitGatewayIds
- The IDs of the transit gateways.public List<Filter> getFilters()
One or more filters. The possible values are:
options.propagation-default-route-table-id
- The ID of the default propagation route table.
options.amazon-side-asn
- The private ASN for the Amazon side of a BGP session.
options.association-default-route-table-id
- The ID of the default association route table.
options.auto-accept-shared-attachments
- Indicates whether there is automatic acceptance of
attachment requests (enable
| disable
).
options.default-route-table-association
- Indicates whether resource attachments are automatically
associated with the default association route table (enable
| disable
).
options.default-route-table-propagation
- Indicates whether resource attachments automatically
propagate routes to the default propagation route table (enable
| disable
).
options.dns-support
- Indicates whether DNS support is enabled (enable
|
disable
).
options.vpn-ecmp-support
- Indicates whether Equal Cost Multipath Protocol support is enabled (
enable
| disable
).
owner-id
- The ID of the Amazon Web Services account that owns the transit gateway.
state
- The state of the transit gateway (available
| deleted
|
deleting
| modifying
| pending
).
transit-gateway-id
- The ID of the transit 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.
options.propagation-default-route-table-id
- The ID of the default propagation route table.
options.amazon-side-asn
- The private ASN for the Amazon side of a BGP session.
options.association-default-route-table-id
- The ID of the default association route table.
options.auto-accept-shared-attachments
- Indicates whether there is automatic acceptance of
attachment requests (enable
| disable
).
options.default-route-table-association
- Indicates whether resource attachments are
automatically associated with the default association route table (enable
|
disable
).
options.default-route-table-propagation
- Indicates whether resource attachments
automatically propagate routes to the default propagation route table (enable
|
disable
).
options.dns-support
- Indicates whether DNS support is enabled (enable
|
disable
).
options.vpn-ecmp-support
- Indicates whether Equal Cost Multipath Protocol support is
enabled (enable
| disable
).
owner-id
- The ID of the Amazon Web Services account that owns the transit gateway.
state
- The state of the transit gateway (available
| deleted
|
deleting
| modifying
| pending
).
transit-gateway-id
- The ID of the transit 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.
public void setFilters(Collection<Filter> filters)
One or more filters. The possible values are:
options.propagation-default-route-table-id
- The ID of the default propagation route table.
options.amazon-side-asn
- The private ASN for the Amazon side of a BGP session.
options.association-default-route-table-id
- The ID of the default association route table.
options.auto-accept-shared-attachments
- Indicates whether there is automatic acceptance of
attachment requests (enable
| disable
).
options.default-route-table-association
- Indicates whether resource attachments are automatically
associated with the default association route table (enable
| disable
).
options.default-route-table-propagation
- Indicates whether resource attachments automatically
propagate routes to the default propagation route table (enable
| disable
).
options.dns-support
- Indicates whether DNS support is enabled (enable
|
disable
).
options.vpn-ecmp-support
- Indicates whether Equal Cost Multipath Protocol support is enabled (
enable
| disable
).
owner-id
- The ID of the Amazon Web Services account that owns the transit gateway.
state
- The state of the transit gateway (available
| deleted
|
deleting
| modifying
| pending
).
transit-gateway-id
- The ID of the transit 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.
filters
- One or more filters. The possible values are:
options.propagation-default-route-table-id
- The ID of the default propagation route table.
options.amazon-side-asn
- The private ASN for the Amazon side of a BGP session.
options.association-default-route-table-id
- The ID of the default association route table.
options.auto-accept-shared-attachments
- Indicates whether there is automatic acceptance of
attachment requests (enable
| disable
).
options.default-route-table-association
- Indicates whether resource attachments are
automatically associated with the default association route table (enable
|
disable
).
options.default-route-table-propagation
- Indicates whether resource attachments
automatically propagate routes to the default propagation route table (enable
|
disable
).
options.dns-support
- Indicates whether DNS support is enabled (enable
|
disable
).
options.vpn-ecmp-support
- Indicates whether Equal Cost Multipath Protocol support is enabled
(enable
| disable
).
owner-id
- The ID of the Amazon Web Services account that owns the transit gateway.
state
- The state of the transit gateway (available
| deleted
|
deleting
| modifying
| pending
).
transit-gateway-id
- The ID of the transit 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.
public DescribeTransitGatewaysRequest withFilters(Filter... filters)
One or more filters. The possible values are:
options.propagation-default-route-table-id
- The ID of the default propagation route table.
options.amazon-side-asn
- The private ASN for the Amazon side of a BGP session.
options.association-default-route-table-id
- The ID of the default association route table.
options.auto-accept-shared-attachments
- Indicates whether there is automatic acceptance of
attachment requests (enable
| disable
).
options.default-route-table-association
- Indicates whether resource attachments are automatically
associated with the default association route table (enable
| disable
).
options.default-route-table-propagation
- Indicates whether resource attachments automatically
propagate routes to the default propagation route table (enable
| disable
).
options.dns-support
- Indicates whether DNS support is enabled (enable
|
disable
).
options.vpn-ecmp-support
- Indicates whether Equal Cost Multipath Protocol support is enabled (
enable
| disable
).
owner-id
- The ID of the Amazon Web Services account that owns the transit gateway.
state
- The state of the transit gateway (available
| deleted
|
deleting
| modifying
| pending
).
transit-gateway-id
- The ID of the transit 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.
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
- One or more filters. The possible values are:
options.propagation-default-route-table-id
- The ID of the default propagation route table.
options.amazon-side-asn
- The private ASN for the Amazon side of a BGP session.
options.association-default-route-table-id
- The ID of the default association route table.
options.auto-accept-shared-attachments
- Indicates whether there is automatic acceptance of
attachment requests (enable
| disable
).
options.default-route-table-association
- Indicates whether resource attachments are
automatically associated with the default association route table (enable
|
disable
).
options.default-route-table-propagation
- Indicates whether resource attachments
automatically propagate routes to the default propagation route table (enable
|
disable
).
options.dns-support
- Indicates whether DNS support is enabled (enable
|
disable
).
options.vpn-ecmp-support
- Indicates whether Equal Cost Multipath Protocol support is enabled
(enable
| disable
).
owner-id
- The ID of the Amazon Web Services account that owns the transit gateway.
state
- The state of the transit gateway (available
| deleted
|
deleting
| modifying
| pending
).
transit-gateway-id
- The ID of the transit 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.
public DescribeTransitGatewaysRequest withFilters(Collection<Filter> filters)
One or more filters. The possible values are:
options.propagation-default-route-table-id
- The ID of the default propagation route table.
options.amazon-side-asn
- The private ASN for the Amazon side of a BGP session.
options.association-default-route-table-id
- The ID of the default association route table.
options.auto-accept-shared-attachments
- Indicates whether there is automatic acceptance of
attachment requests (enable
| disable
).
options.default-route-table-association
- Indicates whether resource attachments are automatically
associated with the default association route table (enable
| disable
).
options.default-route-table-propagation
- Indicates whether resource attachments automatically
propagate routes to the default propagation route table (enable
| disable
).
options.dns-support
- Indicates whether DNS support is enabled (enable
|
disable
).
options.vpn-ecmp-support
- Indicates whether Equal Cost Multipath Protocol support is enabled (
enable
| disable
).
owner-id
- The ID of the Amazon Web Services account that owns the transit gateway.
state
- The state of the transit gateway (available
| deleted
|
deleting
| modifying
| pending
).
transit-gateway-id
- The ID of the transit 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.
filters
- One or more filters. The possible values are:
options.propagation-default-route-table-id
- The ID of the default propagation route table.
options.amazon-side-asn
- The private ASN for the Amazon side of a BGP session.
options.association-default-route-table-id
- The ID of the default association route table.
options.auto-accept-shared-attachments
- Indicates whether there is automatic acceptance of
attachment requests (enable
| disable
).
options.default-route-table-association
- Indicates whether resource attachments are
automatically associated with the default association route table (enable
|
disable
).
options.default-route-table-propagation
- Indicates whether resource attachments
automatically propagate routes to the default propagation route table (enable
|
disable
).
options.dns-support
- Indicates whether DNS support is enabled (enable
|
disable
).
options.vpn-ecmp-support
- Indicates whether Equal Cost Multipath Protocol support is enabled
(enable
| disable
).
owner-id
- The ID of the Amazon Web Services account that owns the transit gateway.
state
- The state of the transit gateway (available
| deleted
|
deleting
| modifying
| pending
).
transit-gateway-id
- The ID of the transit 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.
public void setMaxResults(Integer maxResults)
The maximum number of results to return with a single call. To retrieve the remaining results, make another call
with the returned nextToken
value.
maxResults
- The maximum number of results to return with a single call. To retrieve the remaining results, make
another call with the returned nextToken
value.public Integer getMaxResults()
The maximum number of results to return with a single call. To retrieve the remaining results, make another call
with the returned nextToken
value.
nextToken
value.public DescribeTransitGatewaysRequest withMaxResults(Integer maxResults)
The maximum number of results to return with a single call. To retrieve the remaining results, make another call
with the returned nextToken
value.
maxResults
- The maximum number of results to return with a single call. To retrieve the remaining results, make
another call with the returned nextToken
value.public void setNextToken(String nextToken)
The token for the next page of results.
nextToken
- The token for the next page of results.public String getNextToken()
The token for the next page of results.
public DescribeTransitGatewaysRequest withNextToken(String nextToken)
The token for the next page of results.
nextToken
- The token for the next page of results.public Request<DescribeTransitGatewaysRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeTransitGatewaysRequest>
public String toString()
toString
in class Object
Object.toString()
public DescribeTransitGatewaysRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()