public static interface HttpGatewayRouteAction.Builder extends SdkPojo, CopyableBuilder<HttpGatewayRouteAction.Builder,HttpGatewayRouteAction>
| Modifier and Type | Method and Description |
|---|---|
default HttpGatewayRouteAction.Builder |
target(Consumer<GatewayRouteTarget.Builder> target)
An object that represents the target that traffic is routed to when a request matches the gateway route.
|
HttpGatewayRouteAction.Builder |
target(GatewayRouteTarget target)
An object that represents the target that traffic is routed to when a request matches the gateway route.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildHttpGatewayRouteAction.Builder target(GatewayRouteTarget target)
An object that represents the target that traffic is routed to when a request matches the gateway route.
target - An object that represents the target that traffic is routed to when a request matches the gateway
route.default HttpGatewayRouteAction.Builder target(Consumer<GatewayRouteTarget.Builder> target)
An object that represents the target that traffic is routed to when a request matches the gateway route.
This is a convenience that creates an instance of theGatewayRouteTarget.Builder avoiding the need to
create one manually via GatewayRouteTarget.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to target(GatewayRouteTarget).target - a consumer that will call methods on GatewayRouteTarget.Buildertarget(GatewayRouteTarget)Copyright © 2021. All rights reserved.