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, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildReplaceTransitGatewayRouteResponse.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 method 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.Builderroute(TransitGatewayRoute)Copyright © 2023. All rights reserved.