Interface AssociateRouteTableResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<AssociateRouteTableResponse.Builder,,- AssociateRouteTableResponse> - Ec2Response.Builder,- SdkBuilder<AssociateRouteTableResponse.Builder,,- AssociateRouteTableResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- AssociateRouteTableResponse
@Mutable
@NotThreadSafe
public static interface AssociateRouteTableResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<AssociateRouteTableResponse.Builder,AssociateRouteTableResponse> 
- 
Method SummaryModifier 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.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- 
associationIdThe 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.
 
- 
associationStateThe 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.
 
- 
associationStatedefault 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 on- RouteTableAssociationState.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-