@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeTransitGatewayPeeringAttachmentsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeTransitGatewayPeeringAttachmentsRequest>
NOOP| Constructor and Description |
|---|
DescribeTransitGatewayPeeringAttachmentsRequest() |
| Modifier and Type | Method and Description |
|---|---|
DescribeTransitGatewayPeeringAttachmentsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<DescribeTransitGatewayPeeringAttachmentsRequest> |
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> |
getTransitGatewayAttachmentIds()
One or more IDs of the transit gateway peering attachments.
|
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 |
setTransitGatewayAttachmentIds(Collection<String> transitGatewayAttachmentIds)
One or more IDs of the transit gateway peering attachments.
|
String |
toString()
Returns a string representation of this object.
|
DescribeTransitGatewayPeeringAttachmentsRequest |
withFilters(Collection<Filter> filters)
One or more filters.
|
DescribeTransitGatewayPeeringAttachmentsRequest |
withFilters(Filter... filters)
One or more filters.
|
DescribeTransitGatewayPeeringAttachmentsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return with a single call.
|
DescribeTransitGatewayPeeringAttachmentsRequest |
withNextToken(String nextToken)
The token for the next page of results.
|
DescribeTransitGatewayPeeringAttachmentsRequest |
withTransitGatewayAttachmentIds(Collection<String> transitGatewayAttachmentIds)
One or more IDs of the transit gateway peering attachments.
|
DescribeTransitGatewayPeeringAttachmentsRequest |
withTransitGatewayAttachmentIds(String... transitGatewayAttachmentIds)
One or more IDs of the transit gateway peering attachments.
|
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 DescribeTransitGatewayPeeringAttachmentsRequest()
public List<String> getTransitGatewayAttachmentIds()
One or more IDs of the transit gateway peering attachments.
public void setTransitGatewayAttachmentIds(Collection<String> transitGatewayAttachmentIds)
One or more IDs of the transit gateway peering attachments.
transitGatewayAttachmentIds - One or more IDs of the transit gateway peering attachments.public DescribeTransitGatewayPeeringAttachmentsRequest withTransitGatewayAttachmentIds(String... transitGatewayAttachmentIds)
One or more IDs of the transit gateway peering attachments.
NOTE: This method appends the values to the existing list (if any). Use
setTransitGatewayAttachmentIds(java.util.Collection) or
withTransitGatewayAttachmentIds(java.util.Collection) if you want to override the existing values.
transitGatewayAttachmentIds - One or more IDs of the transit gateway peering attachments.public DescribeTransitGatewayPeeringAttachmentsRequest withTransitGatewayAttachmentIds(Collection<String> transitGatewayAttachmentIds)
One or more IDs of the transit gateway peering attachments.
transitGatewayAttachmentIds - One or more IDs of the transit gateway peering attachments.public List<Filter> getFilters()
One or more filters. The possible values are:
transit-gateway-attachment-id - The ID of the transit gateway attachment.
local-owner-id - The ID of your Amazon Web Services account.
remote-owner-id - The ID of the Amazon Web Services account in the remote Region that owns the
transit gateway.
state - The state of the peering attachment. Valid values are available |
deleted | deleting | failed | failing |
initiatingRequest | modifying | pendingAcceptance | pending |
rollingBack | rejected | rejecting).
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 that have
a tag with a specific key, regardless of the tag value.
transit-gateway-id - The ID of the transit gateway.
transit-gateway-attachment-id - The ID of the transit gateway attachment.
local-owner-id - The ID of your Amazon Web Services account.
remote-owner-id - The ID of the Amazon Web Services account in the remote Region that owns
the transit gateway.
state - The state of the peering attachment. Valid values are available |
deleted | deleting | failed | failing |
initiatingRequest | modifying | pendingAcceptance |
pending | rollingBack | rejected | rejecting).
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
that have a tag with a specific key, regardless of the tag value.
transit-gateway-id - The ID of the transit gateway.
public void setFilters(Collection<Filter> filters)
One or more filters. The possible values are:
transit-gateway-attachment-id - The ID of the transit gateway attachment.
local-owner-id - The ID of your Amazon Web Services account.
remote-owner-id - The ID of the Amazon Web Services account in the remote Region that owns the
transit gateway.
state - The state of the peering attachment. Valid values are available |
deleted | deleting | failed | failing |
initiatingRequest | modifying | pendingAcceptance | pending |
rollingBack | rejected | rejecting).
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 that have
a tag with a specific key, regardless of the tag value.
transit-gateway-id - The ID of the transit gateway.
filters - One or more filters. The possible values are:
transit-gateway-attachment-id - The ID of the transit gateway attachment.
local-owner-id - The ID of your Amazon Web Services account.
remote-owner-id - The ID of the Amazon Web Services account in the remote Region that owns
the transit gateway.
state - The state of the peering attachment. Valid values are available |
deleted | deleting | failed | failing |
initiatingRequest | modifying | pendingAcceptance |
pending | rollingBack | rejected | rejecting).
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
that have a tag with a specific key, regardless of the tag value.
transit-gateway-id - The ID of the transit gateway.
public DescribeTransitGatewayPeeringAttachmentsRequest withFilters(Filter... filters)
One or more filters. The possible values are:
transit-gateway-attachment-id - The ID of the transit gateway attachment.
local-owner-id - The ID of your Amazon Web Services account.
remote-owner-id - The ID of the Amazon Web Services account in the remote Region that owns the
transit gateway.
state - The state of the peering attachment. Valid values are available |
deleted | deleting | failed | failing |
initiatingRequest | modifying | pendingAcceptance | pending |
rollingBack | rejected | rejecting).
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 that have
a tag with a specific key, regardless of the tag value.
transit-gateway-id - The ID of the transit 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. The possible values are:
transit-gateway-attachment-id - The ID of the transit gateway attachment.
local-owner-id - The ID of your Amazon Web Services account.
remote-owner-id - The ID of the Amazon Web Services account in the remote Region that owns
the transit gateway.
state - The state of the peering attachment. Valid values are available |
deleted | deleting | failed | failing |
initiatingRequest | modifying | pendingAcceptance |
pending | rollingBack | rejected | rejecting).
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
that have a tag with a specific key, regardless of the tag value.
transit-gateway-id - The ID of the transit gateway.
public DescribeTransitGatewayPeeringAttachmentsRequest withFilters(Collection<Filter> filters)
One or more filters. The possible values are:
transit-gateway-attachment-id - The ID of the transit gateway attachment.
local-owner-id - The ID of your Amazon Web Services account.
remote-owner-id - The ID of the Amazon Web Services account in the remote Region that owns the
transit gateway.
state - The state of the peering attachment. Valid values are available |
deleted | deleting | failed | failing |
initiatingRequest | modifying | pendingAcceptance | pending |
rollingBack | rejected | rejecting).
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 that have
a tag with a specific key, regardless of the tag value.
transit-gateway-id - The ID of the transit gateway.
filters - One or more filters. The possible values are:
transit-gateway-attachment-id - The ID of the transit gateway attachment.
local-owner-id - The ID of your Amazon Web Services account.
remote-owner-id - The ID of the Amazon Web Services account in the remote Region that owns
the transit gateway.
state - The state of the peering attachment. Valid values are available |
deleted | deleting | failed | failing |
initiatingRequest | modifying | pendingAcceptance |
pending | rollingBack | rejected | rejecting).
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
that have a tag with a specific key, regardless of the tag value.
transit-gateway-id - The ID of the transit 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 DescribeTransitGatewayPeeringAttachmentsRequest 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 DescribeTransitGatewayPeeringAttachmentsRequest withNextToken(String nextToken)
The token for the next page of results.
nextToken - The token for the next page of results.public Request<DescribeTransitGatewayPeeringAttachmentsRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<DescribeTransitGatewayPeeringAttachmentsRequest>public String toString()
toString in class ObjectObject.toString()public DescribeTransitGatewayPeeringAttachmentsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()