@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeCarrierGatewaysRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeCarrierGatewaysRequest>
NOOP| Constructor and Description |
|---|
DescribeCarrierGatewaysRequest() |
| Modifier and Type | Method and Description |
|---|---|
DescribeCarrierGatewaysRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getCarrierGatewayIds()
One or more carrier gateway IDs.
|
Request<DescribeCarrierGatewaysRequest> |
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.
|
int |
hashCode() |
void |
setCarrierGatewayIds(Collection<String> carrierGatewayIds)
One or more carrier gateway IDs.
|
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.
|
String |
toString()
Returns a string representation of this object.
|
DescribeCarrierGatewaysRequest |
withCarrierGatewayIds(Collection<String> carrierGatewayIds)
One or more carrier gateway IDs.
|
DescribeCarrierGatewaysRequest |
withCarrierGatewayIds(String... carrierGatewayIds)
One or more carrier gateway IDs.
|
DescribeCarrierGatewaysRequest |
withFilters(Collection<Filter> filters)
One or more filters.
|
DescribeCarrierGatewaysRequest |
withFilters(Filter... filters)
One or more filters.
|
DescribeCarrierGatewaysRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return with a single call.
|
DescribeCarrierGatewaysRequest |
withNextToken(String nextToken)
The token for the next page of results.
|
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, withSdkRequestTimeoutpublic List<String> getCarrierGatewayIds()
One or more carrier gateway IDs.
public void setCarrierGatewayIds(Collection<String> carrierGatewayIds)
One or more carrier gateway IDs.
carrierGatewayIds - One or more carrier gateway IDs.public DescribeCarrierGatewaysRequest withCarrierGatewayIds(String... carrierGatewayIds)
One or more carrier gateway IDs.
NOTE: This method appends the values to the existing list (if any). Use
setCarrierGatewayIds(java.util.Collection) or withCarrierGatewayIds(java.util.Collection) if
you want to override the existing values.
carrierGatewayIds - One or more carrier gateway IDs.public DescribeCarrierGatewaysRequest withCarrierGatewayIds(Collection<String> carrierGatewayIds)
One or more carrier gateway IDs.
carrierGatewayIds - One or more carrier gateway IDs.public List<Filter> getFilters()
One or more filters.
carrier-gateway-id - The ID of the carrier gateway.
state - The state of the carrier gateway (pending | failed |
available | deleting | deleted).
owner-id - The Amazon Web Services account ID of the owner of the carrier 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.
vpc-id - The ID of the VPC associated with the carrier gateway.
carrier-gateway-id - The ID of the carrier gateway.
state - The state of the carrier gateway (pending | failed |
available | deleting | deleted).
owner-id - The Amazon Web Services account ID of the owner of the carrier 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.
vpc-id - The ID of the VPC associated with the carrier gateway.
public void setFilters(Collection<Filter> filters)
One or more filters.
carrier-gateway-id - The ID of the carrier gateway.
state - The state of the carrier gateway (pending | failed |
available | deleting | deleted).
owner-id - The Amazon Web Services account ID of the owner of the carrier 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.
vpc-id - The ID of the VPC associated with the carrier gateway.
filters - One or more filters.
carrier-gateway-id - The ID of the carrier gateway.
state - The state of the carrier gateway (pending | failed |
available | deleting | deleted).
owner-id - The Amazon Web Services account ID of the owner of the carrier 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.
vpc-id - The ID of the VPC associated with the carrier gateway.
public DescribeCarrierGatewaysRequest withFilters(Filter... filters)
One or more filters.
carrier-gateway-id - The ID of the carrier gateway.
state - The state of the carrier gateway (pending | failed |
available | deleting | deleted).
owner-id - The Amazon Web Services account ID of the owner of the carrier 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.
vpc-id - The ID of the VPC associated with the carrier gateway.
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.
carrier-gateway-id - The ID of the carrier gateway.
state - The state of the carrier gateway (pending | failed |
available | deleting | deleted).
owner-id - The Amazon Web Services account ID of the owner of the carrier 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.
vpc-id - The ID of the VPC associated with the carrier gateway.
public DescribeCarrierGatewaysRequest withFilters(Collection<Filter> filters)
One or more filters.
carrier-gateway-id - The ID of the carrier gateway.
state - The state of the carrier gateway (pending | failed |
available | deleting | deleted).
owner-id - The Amazon Web Services account ID of the owner of the carrier 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.
vpc-id - The ID of the VPC associated with the carrier gateway.
filters - One or more filters.
carrier-gateway-id - The ID of the carrier gateway.
state - The state of the carrier gateway (pending | failed |
available | deleting | deleted).
owner-id - The Amazon Web Services account ID of the owner of the carrier 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.
vpc-id - The ID of the VPC associated with the carrier gateway.
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 DescribeCarrierGatewaysRequest 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 DescribeCarrierGatewaysRequest withNextToken(String nextToken)
The token for the next page of results.
nextToken - The token for the next page of results.public Request<DescribeCarrierGatewaysRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<DescribeCarrierGatewaysRequest>public String toString()
toString in class ObjectObject.toString()public DescribeCarrierGatewaysRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()