public static class RoutingPolicy.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
RoutingPolicy |
build() |
RoutingPolicy.Builder |
conditionLanguageVersion(RoutingPolicy.ConditionLanguageVersion conditionLanguageVersion)
The version of the language in which
condition of rules are composed. |
RoutingPolicy.Builder |
copy(RoutingPolicy model) |
RoutingPolicy.Builder |
name(String name)
The unique name for this list of routing rules.
|
RoutingPolicy.Builder |
rules(List<RoutingRule> rules)
The ordered list of routing rules.
|
public RoutingPolicy.Builder name(String name)
The unique name for this list of routing rules. Avoid entering confidential information.
Example: example_routing_policy
name
- the value to setpublic RoutingPolicy.Builder conditionLanguageVersion(RoutingPolicy.ConditionLanguageVersion conditionLanguageVersion)
The version of the language in which condition
of rules
are composed.
conditionLanguageVersion
- the value to setpublic RoutingPolicy.Builder rules(List<RoutingRule> rules)
The ordered list of routing rules.
rules
- the value to setpublic RoutingPolicy build()
public RoutingPolicy.Builder copy(RoutingPolicy model)
Copyright © 2016–2024. All rights reserved.