Interface AssociateTransitGatewayRouteTableResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<AssociateTransitGatewayRouteTableResponse.Builder,,- AssociateTransitGatewayRouteTableResponse> - Ec2Response.Builder,- SdkBuilder<AssociateTransitGatewayRouteTableResponse.Builder,,- AssociateTransitGatewayRouteTableResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- AssociateTransitGatewayRouteTableResponse
@Mutable
@NotThreadSafe
public static interface AssociateTransitGatewayRouteTableResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<AssociateTransitGatewayRouteTableResponse.Builder,AssociateTransitGatewayRouteTableResponse> 
- 
Method SummaryModifier and TypeMethodDescriptionassociation(Consumer<TransitGatewayAssociation.Builder> association) The ID of the association.association(TransitGatewayAssociation association) The ID of the association.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
associationAssociateTransitGatewayRouteTableResponse.Builder association(TransitGatewayAssociation association) The ID of the association. - Parameters:
- association- The ID of the association.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
associationdefault AssociateTransitGatewayRouteTableResponse.Builder association(Consumer<TransitGatewayAssociation.Builder> association) The ID of the association. This is a convenience method that creates an instance of theTransitGatewayAssociation.Builderavoiding the need to create one manually viaTransitGatewayAssociation.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassociation(TransitGatewayAssociation).- Parameters:
- association- a consumer that will call methods on- TransitGatewayAssociation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-