@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() |
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, copyBaseTo, 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 AWS account.
remote-owner-id - The ID of the AWS account in the remote Region that owns the transit gateway.
state - The state of the peering attachment (available | deleted |
deleting | failed | modifying | pendingAcceptance |
pending | rollingBack | rejected | rejecting).
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 AWS account.
remote-owner-id - The ID of the AWS account in the remote Region that owns the transit
gateway.
state - The state of the peering attachment (available | deleted |
deleting | failed | modifying | pendingAcceptance |
pending | rollingBack | rejected | rejecting).
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 AWS account.
remote-owner-id - The ID of the AWS account in the remote Region that owns the transit gateway.
state - The state of the peering attachment (available | deleted |
deleting | failed | modifying | pendingAcceptance |
pending | rollingBack | rejected | rejecting).
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 AWS account.
remote-owner-id - The ID of the AWS account in the remote Region that owns the transit
gateway.
state - The state of the peering attachment (available | deleted |
deleting | failed | modifying | pendingAcceptance |
pending | rollingBack | rejected | rejecting).
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 AWS account.
remote-owner-id - The ID of the AWS account in the remote Region that owns the transit gateway.
state - The state of the peering attachment (available | deleted |
deleting | failed | modifying | pendingAcceptance |
pending | rollingBack | rejected | rejecting).
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 AWS account.
remote-owner-id - The ID of the AWS account in the remote Region that owns the transit
gateway.
state - The state of the peering attachment (available | deleted |
deleting | failed | modifying | pendingAcceptance |
pending | rollingBack | rejected | rejecting).
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 AWS account.
remote-owner-id - The ID of the AWS account in the remote Region that owns the transit gateway.
state - The state of the peering attachment (available | deleted |
deleting | failed | modifying | pendingAcceptance |
pending | rollingBack | rejected | rejecting).
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 AWS account.
remote-owner-id - The ID of the AWS account in the remote Region that owns the transit
gateway.
state - The state of the peering attachment (available | deleted |
deleting | failed | modifying | pendingAcceptance |
pending | rollingBack | rejected | rejecting).
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()
clone in class AmazonWebServiceRequestCopyright © 2020. All rights reserved.