@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeTransitGatewayVpcAttachmentsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeTransitGatewayVpcAttachmentsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeTransitGatewayVpcAttachmentsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to use to retrieve the next page of results.
|
List<TransitGatewayVpcAttachment> |
getTransitGatewayVpcAttachments()
Information about the VPC attachments.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
void |
setTransitGatewayVpcAttachments(Collection<TransitGatewayVpcAttachment> transitGatewayVpcAttachments)
Information about the VPC attachments.
|
String |
toString()
Returns a string representation of this object.
|
DescribeTransitGatewayVpcAttachmentsResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
DescribeTransitGatewayVpcAttachmentsResult |
withTransitGatewayVpcAttachments(Collection<TransitGatewayVpcAttachment> transitGatewayVpcAttachments)
Information about the VPC attachments.
|
DescribeTransitGatewayVpcAttachmentsResult |
withTransitGatewayVpcAttachments(TransitGatewayVpcAttachment... transitGatewayVpcAttachments)
Information about the VPC attachments.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public DescribeTransitGatewayVpcAttachmentsResult()
public List<TransitGatewayVpcAttachment> getTransitGatewayVpcAttachments()
Information about the VPC attachments.
public void setTransitGatewayVpcAttachments(Collection<TransitGatewayVpcAttachment> transitGatewayVpcAttachments)
Information about the VPC attachments.
transitGatewayVpcAttachments
- Information about the VPC attachments.public DescribeTransitGatewayVpcAttachmentsResult withTransitGatewayVpcAttachments(TransitGatewayVpcAttachment... transitGatewayVpcAttachments)
Information about the VPC attachments.
NOTE: This method appends the values to the existing list (if any). Use
setTransitGatewayVpcAttachments(java.util.Collection)
or
withTransitGatewayVpcAttachments(java.util.Collection)
if you want to override the existing values.
transitGatewayVpcAttachments
- Information about the VPC attachments.public DescribeTransitGatewayVpcAttachmentsResult withTransitGatewayVpcAttachments(Collection<TransitGatewayVpcAttachment> transitGatewayVpcAttachments)
Information about the VPC attachments.
transitGatewayVpcAttachments
- Information about the VPC attachments.public void setNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are no
more results to return.public String getNextToken()
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
null
when there are no
more results to return.public DescribeTransitGatewayVpcAttachmentsResult withNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are no
more results to return.public String toString()
toString
in class Object
Object.toString()
public DescribeTransitGatewayVpcAttachmentsResult clone()