Interface ModifyLocalGatewayRouteResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ModifyLocalGatewayRouteResponse.Builder,ModifyLocalGatewayRouteResponse>,Ec2Response.Builder,SdkBuilder<ModifyLocalGatewayRouteResponse.Builder,ModifyLocalGatewayRouteResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ModifyLocalGatewayRouteResponse
@Mutable @NotThreadSafe public static interface ModifyLocalGatewayRouteResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<ModifyLocalGatewayRouteResponse.Builder,ModifyLocalGatewayRouteResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ModifyLocalGatewayRouteResponse.Builderroute(Consumer<LocalGatewayRoute.Builder> route)Information about the local gateway route table.ModifyLocalGatewayRouteResponse.Builderroute(LocalGatewayRoute route)Information about the local gateway route table.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
route
ModifyLocalGatewayRouteResponse.Builder route(LocalGatewayRoute 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
default ModifyLocalGatewayRouteResponse.Builder route(Consumer<LocalGatewayRoute.Builder> 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:
route(LocalGatewayRoute)
-
-