public static interface CreateTransitGatewayRouteResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CreateTransitGatewayRouteResponse.Builder,CreateTransitGatewayRouteResponse>
Modifier and Type | Method and Description |
---|---|
default CreateTransitGatewayRouteResponse.Builder |
route(Consumer<TransitGatewayRoute.Builder> route)
Information about the route.
|
CreateTransitGatewayRouteResponse.Builder |
route(TransitGatewayRoute route)
Information about the route.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateTransitGatewayRouteResponse.Builder route(TransitGatewayRoute route)
Information about the route.
route
- Information about the route.default CreateTransitGatewayRouteResponse.Builder route(Consumer<TransitGatewayRoute.Builder> route)
Information about the 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 © 2021. All rights reserved.