Class RoutingRule.Builder
- java.lang.Object
-
- com.oracle.bmc.loadbalancer.model.RoutingRule.Builder
-
- Enclosing class:
- RoutingRule
public static class RoutingRule.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
name
public RoutingRule.Builder name(String name)
A unique name for the routing policy rule.Avoid entering confidential information.
- Parameters:
name
- the value to set- Returns:
- this builder
-
condition
public RoutingRule.Builder condition(String condition)
A routing rule to evaluate defined conditions against the incoming HTTP request and perform an action.- Parameters:
condition
- the value to set- Returns:
- this builder
-
actions
public RoutingRule.Builder actions(List<Action> actions)
A list of actions to be applied when conditions of the routing rule are met.- Parameters:
actions
- the value to set- Returns:
- this builder
-
build
public RoutingRule build()
-
copy
public RoutingRule.Builder copy(RoutingRule model)
-
-