public static interface DescribeTransitGatewayAttachmentsResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeTransitGatewayAttachmentsResponse.Builder,DescribeTransitGatewayAttachmentsResponse>
Modifier and Type | Method and Description |
---|---|
DescribeTransitGatewayAttachmentsResponse.Builder |
nextToken(String nextToken)
The token to use to retrieve the next page of results.
|
DescribeTransitGatewayAttachmentsResponse.Builder |
transitGatewayAttachments(Collection<TransitGatewayAttachment> transitGatewayAttachments)
Information about the attachments.
|
DescribeTransitGatewayAttachmentsResponse.Builder |
transitGatewayAttachments(Consumer<TransitGatewayAttachment.Builder>... transitGatewayAttachments)
Information about the attachments.
|
DescribeTransitGatewayAttachmentsResponse.Builder |
transitGatewayAttachments(TransitGatewayAttachment... transitGatewayAttachments)
Information about the attachments.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
DescribeTransitGatewayAttachmentsResponse.Builder transitGatewayAttachments(Collection<TransitGatewayAttachment> transitGatewayAttachments)
Information about the attachments.
transitGatewayAttachments
- Information about the attachments.DescribeTransitGatewayAttachmentsResponse.Builder transitGatewayAttachments(TransitGatewayAttachment... transitGatewayAttachments)
Information about the attachments.
transitGatewayAttachments
- Information about the attachments.DescribeTransitGatewayAttachmentsResponse.Builder transitGatewayAttachments(Consumer<TransitGatewayAttachment.Builder>... transitGatewayAttachments)
Information about the attachments.
This is a convenience method that creates an instance of theTransitGatewayAttachment.Builder
avoiding the need to
create one manually via TransitGatewayAttachment.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called
immediately and its result is passed to #transitGatewayAttachments(List
.
transitGatewayAttachments
- a consumer that will call methods on
TransitGatewayAttachment.Builder
#transitGatewayAttachments(java.util.Collection)
DescribeTransitGatewayAttachmentsResponse.Builder nextToken(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.Copyright © 2023. All rights reserved.