public static interface AcceptTransitGatewayVpcAttachmentResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<AcceptTransitGatewayVpcAttachmentResponse.Builder,AcceptTransitGatewayVpcAttachmentResponse>
Modifier and Type | Method and Description |
---|---|
default AcceptTransitGatewayVpcAttachmentResponse.Builder |
transitGatewayVpcAttachment(Consumer<TransitGatewayVpcAttachment.Builder> transitGatewayVpcAttachment)
The VPC attachment.
|
AcceptTransitGatewayVpcAttachmentResponse.Builder |
transitGatewayVpcAttachment(TransitGatewayVpcAttachment transitGatewayVpcAttachment)
The VPC attachment.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
AcceptTransitGatewayVpcAttachmentResponse.Builder transitGatewayVpcAttachment(TransitGatewayVpcAttachment transitGatewayVpcAttachment)
The VPC attachment.
transitGatewayVpcAttachment
- The VPC attachment.default AcceptTransitGatewayVpcAttachmentResponse.Builder transitGatewayVpcAttachment(Consumer<TransitGatewayVpcAttachment.Builder> transitGatewayVpcAttachment)
The VPC attachment.
This is a convenience that creates an instance of theTransitGatewayVpcAttachment.Builder
avoiding
the need to create one manually via TransitGatewayVpcAttachment.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to transitGatewayVpcAttachment(TransitGatewayVpcAttachment)
.transitGatewayVpcAttachment
- a consumer that will call methods on TransitGatewayVpcAttachment.Builder
transitGatewayVpcAttachment(TransitGatewayVpcAttachment)
Copyright © 2019. All rights reserved.