Interface AttachVpnGatewayResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<AttachVpnGatewayResponse.Builder,AttachVpnGatewayResponse>
,Ec2Response.Builder
,SdkBuilder<AttachVpnGatewayResponse.Builder,AttachVpnGatewayResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- AttachVpnGatewayResponse
public static interface AttachVpnGatewayResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<AttachVpnGatewayResponse.Builder,AttachVpnGatewayResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AttachVpnGatewayResponse.Builder
vpcAttachment(Consumer<VpcAttachment.Builder> vpcAttachment)
Information about the attachment.AttachVpnGatewayResponse.Builder
vpcAttachment(VpcAttachment vpcAttachment)
Information about the attachment.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
vpcAttachment
AttachVpnGatewayResponse.Builder vpcAttachment(VpcAttachment vpcAttachment)
Information about the attachment.
- Parameters:
vpcAttachment
- Information about the attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcAttachment
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 viaVpcAttachment.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcAttachment(VpcAttachment)
.- Parameters:
vpcAttachment
- a consumer that will call methods onVpcAttachment.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
vpcAttachment(VpcAttachment)
-
-