public static class RoutingRule.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
RoutingRule.Builder |
actions(List<Action> actions)
A list of actions to be applied when conditions of the routing rule are met.
|
RoutingRule |
build() |
RoutingRule.Builder |
condition(String condition)
A routing rule to evaluate defined conditions against the incoming HTTP request and
perform an action.
|
RoutingRule.Builder |
copy(RoutingRule model) |
RoutingRule.Builder |
name(String name)
A unique name for the routing policy rule.
|
public RoutingRule.Builder name(String name)
A unique name for the routing policy rule. Avoid entering confidential information.
name
- the value to setpublic RoutingRule.Builder condition(String condition)
A routing rule to evaluate defined conditions against the incoming HTTP request and perform an action.
condition
- the value to setpublic RoutingRule.Builder actions(List<Action> actions)
A list of actions to be applied when conditions of the routing rule are met.
actions
- the value to setpublic RoutingRule build()
public RoutingRule.Builder copy(RoutingRule model)
Copyright © 2016–2024. All rights reserved.