Interface DisassociateTransitGatewayRouteTableResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DisassociateTransitGatewayRouteTableResponse.Builder,
,DisassociateTransitGatewayRouteTableResponse> Ec2Response.Builder
,SdkBuilder<DisassociateTransitGatewayRouteTableResponse.Builder,
,DisassociateTransitGatewayRouteTableResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DisassociateTransitGatewayRouteTableResponse
public static interface DisassociateTransitGatewayRouteTableResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DisassociateTransitGatewayRouteTableResponse.Builder,DisassociateTransitGatewayRouteTableResponse>
-
Method Summary
Modifier and TypeMethodDescriptionassociation
(Consumer<TransitGatewayAssociation.Builder> association) Information about the association.association
(TransitGatewayAssociation association) Information about the association.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 Details
-
association
DisassociateTransitGatewayRouteTableResponse.Builder association(TransitGatewayAssociation association) Information about the association.
- Parameters:
association
- Information about the association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
association
default DisassociateTransitGatewayRouteTableResponse.Builder association(Consumer<TransitGatewayAssociation.Builder> association) Information about the association.
This is a convenience method that creates an instance of theTransitGatewayAssociation.Builder
avoiding the need to create one manually viaTransitGatewayAssociation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassociation(TransitGatewayAssociation)
.- Parameters:
association
- a consumer that will call methods onTransitGatewayAssociation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-