Interface DeleteLocalGatewayRouteResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DeleteLocalGatewayRouteResponse.Builder,DeleteLocalGatewayRouteResponse>
,Ec2Response.Builder
,SdkBuilder<DeleteLocalGatewayRouteResponse.Builder,DeleteLocalGatewayRouteResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- DeleteLocalGatewayRouteResponse
public static interface DeleteLocalGatewayRouteResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DeleteLocalGatewayRouteResponse.Builder,DeleteLocalGatewayRouteResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DeleteLocalGatewayRouteResponse.Builder
route(Consumer<LocalGatewayRoute.Builder> route)
Information about the route.DeleteLocalGatewayRouteResponse.Builder
route(LocalGatewayRoute route)
Information about the route.-
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
-
route
DeleteLocalGatewayRouteResponse.Builder route(LocalGatewayRoute route)
Information about the route.
- Parameters:
route
- Information about the route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
route
default DeleteLocalGatewayRouteResponse.Builder route(Consumer<LocalGatewayRoute.Builder> route)
Information about the route.
This is a convenience method that creates an instance of theLocalGatewayRoute.Builder
avoiding the need to create one manually viaLocalGatewayRoute.builder()
.When the
Consumer
completes,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:
route(LocalGatewayRoute)
-
-