public static interface ReplaceTransitGatewayRouteResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<ReplaceTransitGatewayRouteResponse.Builder,ReplaceTransitGatewayRouteResponse>
Modifier and Type | Method and Description |
---|---|
default ReplaceTransitGatewayRouteResponse.Builder |
route(Consumer<TransitGatewayRoute.Builder> route)
Information about the modified route.
|
ReplaceTransitGatewayRouteResponse.Builder |
route(TransitGatewayRoute route)
Information about the modified route.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
ReplaceTransitGatewayRouteResponse.Builder route(TransitGatewayRoute route)
Information about the modified route.
route
- Information about the modified route.default ReplaceTransitGatewayRouteResponse.Builder route(Consumer<TransitGatewayRoute.Builder> route)
Information about the modified route.
This is a convenience that creates an instance of theTransitGatewayRoute.Builder
avoiding the need
to create one manually via TransitGatewayRoute.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to route(TransitGatewayRoute)
.route
- a consumer that will call methods on TransitGatewayRoute.Builder
route(TransitGatewayRoute)
Copyright © 2020. All rights reserved.