Interface AcceptTransitGatewayVpcAttachmentResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<AcceptTransitGatewayVpcAttachmentResponse.Builder,AcceptTransitGatewayVpcAttachmentResponse>,Ec2Response.Builder,SdkBuilder<AcceptTransitGatewayVpcAttachmentResponse.Builder,AcceptTransitGatewayVpcAttachmentResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- AcceptTransitGatewayVpcAttachmentResponse
public static interface AcceptTransitGatewayVpcAttachmentResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<AcceptTransitGatewayVpcAttachmentResponse.Builder,AcceptTransitGatewayVpcAttachmentResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AcceptTransitGatewayVpcAttachmentResponse.BuildertransitGatewayVpcAttachment(Consumer<TransitGatewayVpcAttachment.Builder> transitGatewayVpcAttachment)The VPC attachment.AcceptTransitGatewayVpcAttachmentResponse.BuildertransitGatewayVpcAttachment(TransitGatewayVpcAttachment transitGatewayVpcAttachment)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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
transitGatewayVpcAttachment
AcceptTransitGatewayVpcAttachmentResponse.Builder transitGatewayVpcAttachment(TransitGatewayVpcAttachment transitGatewayVpcAttachment)
The VPC attachment.
- Parameters:
transitGatewayVpcAttachment- The VPC attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transitGatewayVpcAttachment
default AcceptTransitGatewayVpcAttachmentResponse.Builder transitGatewayVpcAttachment(Consumer<TransitGatewayVpcAttachment.Builder> transitGatewayVpcAttachment)
The VPC attachment.
This is a convenience method that creates an instance of theTransitGatewayVpcAttachment.Builderavoiding the need to create one manually viaTransitGatewayVpcAttachment.builder().When the
Consumercompletes,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)
-
-