public static class TopologyRoutesToRelationshipDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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 a Service . |
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. |
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
.
destinationType
- the value to setpublic TopologyRoutesToRelationshipDetails.Builder destination(String destination)
An IP address range in CIDR notation or the cidrBlock
value for a Service
.
destination
- the value to setpublic TopologyRoutesToRelationshipDetails.Builder routeTableId(String routeTableId)
The OCID of the routing table that contains the route rule.
routeTableId
- the value to setpublic 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.
routeType
- the value to setpublic TopologyRoutesToRelationshipDetails build()
public TopologyRoutesToRelationshipDetails.Builder copy(TopologyRoutesToRelationshipDetails model)
Copyright © 2016–2024. All rights reserved.