public static interface HttpGatewayRouteAction.Builder extends SdkPojo, CopyableBuilder<HttpGatewayRouteAction.Builder,HttpGatewayRouteAction>
| Modifier and Type | Method and Description |
|---|---|
default HttpGatewayRouteAction.Builder |
rewrite(Consumer<HttpGatewayRouteRewrite.Builder> rewrite)
The gateway route action to rewrite.
|
HttpGatewayRouteAction.Builder |
rewrite(HttpGatewayRouteRewrite rewrite)
The gateway route action to rewrite.
|
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 rewrite(HttpGatewayRouteRewrite rewrite)
The gateway route action to rewrite.
rewrite - The gateway route action to rewrite.default HttpGatewayRouteAction.Builder rewrite(Consumer<HttpGatewayRouteRewrite.Builder> rewrite)
The gateway route action to rewrite.
This is a convenience method that creates an instance of theHttpGatewayRouteRewrite.Builder avoiding
the need to create one manually via HttpGatewayRouteRewrite.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to rewrite(HttpGatewayRouteRewrite).
rewrite - a consumer that will call methods on HttpGatewayRouteRewrite.Builderrewrite(HttpGatewayRouteRewrite)HttpGatewayRouteAction.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 method 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 © 2023. All rights reserved.