Class DrgRouteDistributionStatement.Builder
- java.lang.Object
- 
- com.oracle.bmc.vnmonitoring.model.DrgRouteDistributionStatement.Builder
 
- 
- Enclosing class:
- DrgRouteDistributionStatement
 
 public static class DrgRouteDistributionStatement.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DrgRouteDistributionStatement.Builderaction(DrgRouteDistributionStatement.Action action)ACCEPT indicates the route should be imported or exported as-is.DrgRouteDistributionStatementbuild()DrgRouteDistributionStatement.Buildercopy(DrgRouteDistributionStatement model)DrgRouteDistributionStatement.Builderid(String id)The Oracle-assigned ID of the route distribution statement.DrgRouteDistributionStatement.BuildermatchCriteria(List<DrgRouteDistributionMatchCriteria> matchCriteria)The action is applied only if all of the match criteria is met.DrgRouteDistributionStatement.Builderpriority(Integer priority)This field specifies the priority of each statement in a route distribution.
 
- 
- 
- 
Method Detail- 
matchCriteriapublic 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
 
 - 
actionpublic 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
 
 - 
prioritypublic 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
 
 - 
idpublic DrgRouteDistributionStatement.Builder id(String id) The Oracle-assigned ID of the route distribution statement.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
buildpublic DrgRouteDistributionStatement build() 
 - 
copypublic DrgRouteDistributionStatement.Builder copy(DrgRouteDistributionStatement model) 
 
- 
 
-