Interface AssociateRouteTableResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CopyableBuilder<AssociateRouteTableResponse.Builder,,AssociateRouteTableResponse> Ec2Response.Builder,SdkBuilder<AssociateRouteTableResponse.Builder,,AssociateRouteTableResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 AssociateRouteTableResponse
public static interface AssociateRouteTableResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<AssociateRouteTableResponse.Builder,AssociateRouteTableResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptionassociationId(String associationId) The route table association ID.associationState(Consumer<RouteTableAssociationState.Builder> associationState) The state of the association.associationState(RouteTableAssociationState associationState) The state of the association.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse 
- 
Method Details
- 
associationId
The route table association ID. This ID is required for disassociating the route table.
- Parameters:
 associationId- The route table association ID. This ID is required for disassociating the route table.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
associationState
The state of the association.
- Parameters:
 associationState- The state of the association.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
associationState
default AssociateRouteTableResponse.Builder associationState(Consumer<RouteTableAssociationState.Builder> associationState) The state of the association.
This is a convenience method that creates an instance of theRouteTableAssociationState.Builderavoiding the need to create one manually viaRouteTableAssociationState.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassociationState(RouteTableAssociationState).- Parameters:
 associationState- a consumer that will call methods onRouteTableAssociationState.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -