public static class DrgRouteDistributionStatement.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
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.
matchCriteria
- the value to setpublic DrgRouteDistributionStatement.Builder action(DrgRouteDistributionStatement.Action action)
ACCEPT
indicates the route should be imported or exported as-is.
action
- the value to setpublic 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.
priority
- the value to setpublic DrgRouteDistributionStatement.Builder id(String id)
The Oracle-assigned ID of the route distribution statement.
id
- the value to setpublic DrgRouteDistributionStatement build()
public DrgRouteDistributionStatement.Builder copy(DrgRouteDistributionStatement model)
Copyright © 2016–2024. All rights reserved.