Interface ModifyLocalGatewayRouteResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ModifyLocalGatewayRouteResponse.Builder,,ModifyLocalGatewayRouteResponse> Ec2Response.Builder,SdkBuilder<ModifyLocalGatewayRouteResponse.Builder,,ModifyLocalGatewayRouteResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ModifyLocalGatewayRouteResponse
public static interface ModifyLocalGatewayRouteResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<ModifyLocalGatewayRouteResponse.Builder,ModifyLocalGatewayRouteResponse>
-
Method Summary
Modifier and TypeMethodDescriptionroute(Consumer<LocalGatewayRoute.Builder> route) Information about the local gateway route table.route(LocalGatewayRoute route) Information about the local gateway route table.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
-
route
Information about the local gateway route table.
- Parameters:
route- Information about the local gateway route table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
route
Information about the local gateway route table.
This is a convenience method that creates an instance of theLocalGatewayRoute.Builderavoiding the need to create one manually viaLocalGatewayRoute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toroute(LocalGatewayRoute).- Parameters:
route- a consumer that will call methods onLocalGatewayRoute.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-