Class AddDrgRouteDistributionStatementDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.vnmonitoring.model.AddDrgRouteDistributionStatementDetails.Builder
-
- Enclosing class:
- AddDrgRouteDistributionStatementDetails
public static class AddDrgRouteDistributionStatementDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddDrgRouteDistributionStatementDetails.Builder
action(AddDrgRouteDistributionStatementDetails.Action action)
Accept: import/export the route “as is”AddDrgRouteDistributionStatementDetails
build()
AddDrgRouteDistributionStatementDetails.Builder
copy(AddDrgRouteDistributionStatementDetails model)
AddDrgRouteDistributionStatementDetails.Builder
matchCriteria(List<DrgRouteDistributionMatchCriteria> matchCriteria)
The action is applied only if all of the match criteria is met.AddDrgRouteDistributionStatementDetails.Builder
priority(Integer priority)
This field is used to specify the priority of each statement in a route distribution.
-
-
-
Method Detail
-
matchCriteria
public AddDrgRouteDistributionStatementDetails.Builder matchCriteria(List<DrgRouteDistributionMatchCriteria> matchCriteria)
The action is applied only if all of the match criteria is met.- Parameters:
matchCriteria
- the value to set- Returns:
- this builder
-
action
public AddDrgRouteDistributionStatementDetails.Builder action(AddDrgRouteDistributionStatementDetails.Action action)
Accept: import/export the route “as is”- Parameters:
action
- the value to set- Returns:
- this builder
-
priority
public AddDrgRouteDistributionStatementDetails.Builder priority(Integer priority)
This field is used to specify the priority of each statement in a 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
-
build
public AddDrgRouteDistributionStatementDetails build()
-
copy
public AddDrgRouteDistributionStatementDetails.Builder copy(AddDrgRouteDistributionStatementDetails model)
-
-