Class DrgRouteRule.Builder
- java.lang.Object
- 
- com.oracle.bmc.vnmonitoring.model.DrgRouteRule.Builder
 
- 
- Enclosing class:
- DrgRouteRule
 
 public static class DrgRouteRule.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DrgRouteRule.Builderattributes(Object attributes)Additional properties for the route, computed by the service.DrgRouteRulebuild()DrgRouteRule.Buildercopy(DrgRouteRule model)DrgRouteRule.Builderdestination(String destination)Represents the range of IP addresses to match against when routing traffic.DrgRouteRule.BuilderdestinationType(DrgRouteRule.DestinationType destinationType)The type of destination for the rule.DrgRouteRule.Builderid(String id)The Oracle-assigned ID of the DRG route rule.DrgRouteRule.BuilderisBlackhole(Boolean isBlackhole)Indicates that if the next hop attachment does not exist, so traffic for this route is discarded without notification.DrgRouteRule.BuilderisConflict(Boolean isConflict)Indicates that the route was not imported due to a conflict between route rules.DrgRouteRule.BuildernextHopDrgAttachmentId(String nextHopDrgAttachmentId)The OCID of the next hop DRG attachment responsible for reaching the network destination.DrgRouteRule.BuilderrouteProvenance(DrgRouteRule.RouteProvenance routeProvenance)The earliest origin of a route.DrgRouteRule.BuilderrouteType(DrgRouteRule.RouteType routeType)You can specify static routes for the DRG route table using the API.
 
- 
- 
- 
Method Detail- 
destinationpublic DrgRouteRule.Builder destination(String destination) Represents the range of IP addresses to match against when routing traffic.Potential values: * An IP address range (IPv4 or IPv6) in CIDR notation. For example: 192.168.1.0/24 or 2001:0db8:0123:45::/56. * When you're setting up a security rule for traffic destined for a particular Service through a service gateway, this is the cidrBlock value associated with that Service. For example: oci-phx-objectstorage.- Parameters:
- destination- the value to set
- Returns:
- this builder
 
 - 
destinationTypepublic DrgRouteRule.Builder destinationType(DrgRouteRule.DestinationType destinationType) The type of destination for the rule.Allowed values: CIDR_BLOCK: If the rule's destination is an IP address range in CIDR notation. * SERVICE_CIDR_BLOCK: If the rule's destination is the cidrBlock value for a Service(the rule is for traffic destined for a particular Service through a service gateway).- Parameters:
- destinationType- the value to set
- Returns:
- this builder
 
 - 
nextHopDrgAttachmentIdpublic DrgRouteRule.Builder nextHopDrgAttachmentId(String nextHopDrgAttachmentId) The OCID of the next hop DRG attachment responsible for reaching the network destination.A value of BLACKHOLE means traffic for this route is discarded without notification. - Parameters:
- nextHopDrgAttachmentId- the value to set
- Returns:
- this builder
 
 - 
routeTypepublic DrgRouteRule.Builder routeType(DrgRouteRule.RouteType routeType) You can specify static routes for the DRG route table using the API.The DRG learns dynamic routes from the DRG attachments using various routing protocols. - Parameters:
- routeType- the value to set
- Returns:
- this builder
 
 - 
isConflictpublic DrgRouteRule.Builder isConflict(Boolean isConflict) Indicates that the route was not imported due to a conflict between route rules.- Parameters:
- isConflict- the value to set
- Returns:
- this builder
 
 - 
isBlackholepublic DrgRouteRule.Builder isBlackhole(Boolean isBlackhole) Indicates that if the next hop attachment does not exist, so traffic for this route is discarded without notification.- Parameters:
- isBlackhole- the value to set
- Returns:
- this builder
 
 - 
idpublic DrgRouteRule.Builder id(String id) The Oracle-assigned ID of the DRG route rule.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
routeProvenancepublic DrgRouteRule.Builder routeProvenance(DrgRouteRule.RouteProvenance routeProvenance) The earliest origin of a route.If a route is advertised to a DRG through an IPsec tunnel attachment, and is propagated to peered DRGs via RPC attachments, the route’s provenance in the peered DRGs remains IPSEC_TUNNEL, because that is the earliest origin. No routes with a provenance IPSEC_TUNNEL or VIRTUAL_CIRCUIT will be exported to IPsec tunnel or virtual circuit attachments, regardless of the attachment's export distribution. - Parameters:
- routeProvenance- the value to set
- Returns:
- this builder
 
 - 
attributespublic DrgRouteRule.Builder attributes(Object attributes) Additional properties for the route, computed by the service.- Parameters:
- attributes- the value to set
- Returns:
- this builder
 
 - 
buildpublic DrgRouteRule build() 
 - 
copypublic DrgRouteRule.Builder copy(DrgRouteRule model) 
 
- 
 
-