Interface CreateTransitGatewayVpcAttachmentResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateTransitGatewayVpcAttachmentResponse.Builder,CreateTransitGatewayVpcAttachmentResponse>
,Ec2Response.Builder
,SdkBuilder<CreateTransitGatewayVpcAttachmentResponse.Builder,CreateTransitGatewayVpcAttachmentResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- CreateTransitGatewayVpcAttachmentResponse
public static interface CreateTransitGatewayVpcAttachmentResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CreateTransitGatewayVpcAttachmentResponse.Builder,CreateTransitGatewayVpcAttachmentResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateTransitGatewayVpcAttachmentResponse.Builder
transitGatewayVpcAttachment(Consumer<TransitGatewayVpcAttachment.Builder> transitGatewayVpcAttachment)
Information about the VPC attachment.CreateTransitGatewayVpcAttachmentResponse.Builder
transitGatewayVpcAttachment(TransitGatewayVpcAttachment transitGatewayVpcAttachment)
Information about the VPC 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
-
transitGatewayVpcAttachment
CreateTransitGatewayVpcAttachmentResponse.Builder transitGatewayVpcAttachment(TransitGatewayVpcAttachment transitGatewayVpcAttachment)
Information about the VPC attachment.
- Parameters:
transitGatewayVpcAttachment
- Information about the VPC attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transitGatewayVpcAttachment
default CreateTransitGatewayVpcAttachmentResponse.Builder transitGatewayVpcAttachment(Consumer<TransitGatewayVpcAttachment.Builder> transitGatewayVpcAttachment)
Information about the VPC attachment.
This is a convenience method that creates an instance of theTransitGatewayVpcAttachment.Builder
avoiding the need to create one manually viaTransitGatewayVpcAttachment.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totransitGatewayVpcAttachment(TransitGatewayVpcAttachment)
.- Parameters:
transitGatewayVpcAttachment
- a consumer that will call methods onTransitGatewayVpcAttachment.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
transitGatewayVpcAttachment(TransitGatewayVpcAttachment)
-
-