@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeTransitGatewayAttachmentsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeTransitGatewayAttachmentsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeTransitGatewayAttachmentsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to use to retrieve the next page of results.
|
List<TransitGatewayAttachment> |
getTransitGatewayAttachments()
Information about the attachments.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
void |
setTransitGatewayAttachments(Collection<TransitGatewayAttachment> transitGatewayAttachments)
Information about the attachments.
|
String |
toString()
Returns a string representation of this object.
|
DescribeTransitGatewayAttachmentsResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
DescribeTransitGatewayAttachmentsResult |
withTransitGatewayAttachments(Collection<TransitGatewayAttachment> transitGatewayAttachments)
Information about the attachments.
|
DescribeTransitGatewayAttachmentsResult |
withTransitGatewayAttachments(TransitGatewayAttachment... transitGatewayAttachments)
Information about the attachments.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public DescribeTransitGatewayAttachmentsResult()
public List<TransitGatewayAttachment> getTransitGatewayAttachments()
Information about the attachments.
public void setTransitGatewayAttachments(Collection<TransitGatewayAttachment> transitGatewayAttachments)
Information about the attachments.
transitGatewayAttachments
- Information about the attachments.public DescribeTransitGatewayAttachmentsResult withTransitGatewayAttachments(TransitGatewayAttachment... transitGatewayAttachments)
Information about the attachments.
NOTE: This method appends the values to the existing list (if any). Use
setTransitGatewayAttachments(java.util.Collection)
or
withTransitGatewayAttachments(java.util.Collection)
if you want to override the existing values.
transitGatewayAttachments
- Information about the attachments.public DescribeTransitGatewayAttachmentsResult withTransitGatewayAttachments(Collection<TransitGatewayAttachment> transitGatewayAttachments)
Information about the attachments.
transitGatewayAttachments
- Information about the 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 DescribeTransitGatewayAttachmentsResult 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 DescribeTransitGatewayAttachmentsResult clone()