Class TopologyRoutesToRelationshipDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.vnmonitoring.model.TopologyRoutesToRelationshipDetails.Builder
-
- Enclosing class:
- TopologyRoutesToRelationshipDetails
public static class TopologyRoutesToRelationshipDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TopologyRoutesToRelationshipDetails
build()
TopologyRoutesToRelationshipDetails.Builder
copy(TopologyRoutesToRelationshipDetails model)
TopologyRoutesToRelationshipDetails.Builder
destination(String destination)
An IP address range in CIDR notation or the cidrBlock value for aService
.TopologyRoutesToRelationshipDetails.Builder
destinationType(String destinationType)
The destinationType can be set to one of two values:TopologyRoutesToRelationshipDetails.Builder
routeTableId(String routeTableId)
The OCID of the routing table that contains the route rule.TopologyRoutesToRelationshipDetails.Builder
routeType(TopologyRoutesToRelationshipDetails.RouteType routeType)
A route rule can be STATIC if manually added to the route table or DYNAMIC if imported from another route table.
-
-
-
Method Detail
-
destinationType
public TopologyRoutesToRelationshipDetails.Builder destinationType(String destinationType)
The destinationType can be set to one of two values:Use CIDR_BLOCK if the rule's destination is an IP address range in CIDR notation.
Use SERVICE_CIDR_BLOCK if the rule's destination is the cidrBlock value for a
Service
.- Parameters:
destinationType
- the value to set- Returns:
- this builder
-
destination
public TopologyRoutesToRelationshipDetails.Builder destination(String destination)
An IP address range in CIDR notation or the cidrBlock value for aService
.- Parameters:
destination
- the value to set- Returns:
- this builder
-
routeTableId
public TopologyRoutesToRelationshipDetails.Builder routeTableId(String routeTableId)
The OCID of the routing table that contains the route rule.- Parameters:
routeTableId
- the value to set- Returns:
- this builder
-
routeType
public TopologyRoutesToRelationshipDetails.Builder routeType(TopologyRoutesToRelationshipDetails.RouteType routeType)
A route rule can be STATIC if manually added to the route table or DYNAMIC if imported from another route table.- Parameters:
routeType
- the value to set- Returns:
- this builder
-
build
public TopologyRoutesToRelationshipDetails build()
-
copy
public TopologyRoutesToRelationshipDetails.Builder copy(TopologyRoutesToRelationshipDetails model)
-
-