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