@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeDirectConnectGatewayAttachmentsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
DescribeDirectConnectGatewayAttachmentsResult() |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic DescribeDirectConnectGatewayAttachmentsResult()
public List<DirectConnectGatewayAttachment> getDirectConnectGatewayAttachments()
The attachments.
public void setDirectConnectGatewayAttachments(Collection<DirectConnectGatewayAttachment> directConnectGatewayAttachments)
The attachments.
directConnectGatewayAttachments - The attachments.public DescribeDirectConnectGatewayAttachmentsResult withDirectConnectGatewayAttachments(DirectConnectGatewayAttachment... directConnectGatewayAttachments)
The attachments.
NOTE: This method appends the values to the existing list (if any). Use
setDirectConnectGatewayAttachments(java.util.Collection) or
withDirectConnectGatewayAttachments(java.util.Collection) if you want to override the existing values.
directConnectGatewayAttachments - The attachments.public DescribeDirectConnectGatewayAttachmentsResult withDirectConnectGatewayAttachments(Collection<DirectConnectGatewayAttachment> directConnectGatewayAttachments)
The attachments.
directConnectGatewayAttachments - The attachments.public void setNextToken(String nextToken)
The token to retrieve the next page.
nextToken - The token to retrieve the next page.public String getNextToken()
The token to retrieve the next page.
public DescribeDirectConnectGatewayAttachmentsResult withNextToken(String nextToken)
The token to retrieve the next page.
nextToken - The token to retrieve the next page.public String toString()
toString in class ObjectObject.toString()public DescribeDirectConnectGatewayAttachmentsResult clone()