Interface ReplaceRouteTableAssociationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ReplaceRouteTableAssociationResponse.Builder,ReplaceRouteTableAssociationResponse>
,Ec2Response.Builder
,SdkBuilder<ReplaceRouteTableAssociationResponse.Builder,ReplaceRouteTableAssociationResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- ReplaceRouteTableAssociationResponse
public static interface ReplaceRouteTableAssociationResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<ReplaceRouteTableAssociationResponse.Builder,ReplaceRouteTableAssociationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ReplaceRouteTableAssociationResponse.Builder
associationState(Consumer<RouteTableAssociationState.Builder> associationState)
The state of the association.ReplaceRouteTableAssociationResponse.Builder
associationState(RouteTableAssociationState associationState)
The state of the association.ReplaceRouteTableAssociationResponse.Builder
newAssociationId(String newAssociationId)
The ID of the new 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 Detail
-
newAssociationId
ReplaceRouteTableAssociationResponse.Builder newAssociationId(String newAssociationId)
The ID of the new association.
- Parameters:
newAssociationId
- The ID of the new association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associationState
ReplaceRouteTableAssociationResponse.Builder associationState(RouteTableAssociationState 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 ReplaceRouteTableAssociationResponse.Builder associationState(Consumer<RouteTableAssociationState.Builder> associationState)
The state of the association.
This is a convenience method that creates an instance of theRouteTableAssociationState.Builder
avoiding the need to create one manually viaRouteTableAssociationState.builder()
.When the
Consumer
completes,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:
associationState(RouteTableAssociationState)
-
-