Class DrgRouteDistributionStatement.Builder
- java.lang.Object
-
- com.oracle.bmc.vnmonitoring.model.DrgRouteDistributionStatement.Builder
-
- Enclosing class:
- DrgRouteDistributionStatement
public static class DrgRouteDistributionStatement.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DrgRouteDistributionStatement.Builder
action(DrgRouteDistributionStatement.Action action)
ACCEPT indicates the route should be imported or exported as-is.DrgRouteDistributionStatement
build()
DrgRouteDistributionStatement.Builder
copy(DrgRouteDistributionStatement model)
DrgRouteDistributionStatement.Builder
id(String id)
The Oracle-assigned ID of the route distribution statement.DrgRouteDistributionStatement.Builder
matchCriteria(List<DrgRouteDistributionMatchCriteria> matchCriteria)
The action is applied only if all of the match criteria is met.DrgRouteDistributionStatement.Builder
priority(Integer priority)
This field specifies the priority of each statement in a route distribution.
-
-
-
Method Detail
-
matchCriteria
public DrgRouteDistributionStatement.Builder matchCriteria(List<DrgRouteDistributionMatchCriteria> matchCriteria)
The action is applied only if all of the match criteria is met.If there are no match criteria in a statement, any input is considered a match and the action is applied.
- Parameters:
matchCriteria
- the value to set- Returns:
- this builder
-
action
public DrgRouteDistributionStatement.Builder action(DrgRouteDistributionStatement.Action action)
ACCEPT indicates the route should be imported or exported as-is.- Parameters:
action
- the value to set- Returns:
- this builder
-
priority
public DrgRouteDistributionStatement.Builder priority(Integer priority)
This field specifies the priority of each statement in a route distribution.Priorities must be unique within a particular route distribution. The priority will be represented as a number between 0 and 65535 where a lower number indicates a higher priority. When a route is processed, statements are applied in the order defined by their priority. The first matching rule dictates the action that will be taken on the route.
- Parameters:
priority
- the value to set- Returns:
- this builder
-
id
public DrgRouteDistributionStatement.Builder id(String id)
The Oracle-assigned ID of the route distribution statement.- Parameters:
id
- the value to set- Returns:
- this builder
-
build
public DrgRouteDistributionStatement build()
-
copy
public DrgRouteDistributionStatement.Builder copy(DrgRouteDistributionStatement model)
-
-