public static class AddDrgRouteRuleDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AddDrgRouteRuleDetails |
build() |
AddDrgRouteRuleDetails.Builder |
copy(AddDrgRouteRuleDetails model) |
AddDrgRouteRuleDetails.Builder |
destination(String destination)
This is the range of IP addresses used for matching when routing traffic.
|
AddDrgRouteRuleDetails.Builder |
destinationType(AddDrgRouteRuleDetails.DestinationType destinationType)
Type of destination for the rule.
|
AddDrgRouteRuleDetails.Builder |
nextHopDrgAttachmentId(String nextHopDrgAttachmentId)
The OCID
of the next hop DRG attachment.
|
public AddDrgRouteRuleDetails.Builder destinationType(AddDrgRouteRuleDetails.DestinationType destinationType)
Type of destination for the rule. Allowed values: * CIDR_BLOCK
: If the rule’s
destination
is an IP address range in CIDR notation.
destinationType
- the value to setpublic AddDrgRouteRuleDetails.Builder destination(String destination)
This is the range of IP addresses used for matching when routing traffic. Only CIDR_BLOCK values are allowed.
Potential values: * IP address range in CIDR notation. This can be an IPv4 or IPv6
CIDR. For example: 192.168.1.0/24
or 2001:0db8:0123:45::/56
.
destination
- the value to setpublic AddDrgRouteRuleDetails.Builder nextHopDrgAttachmentId(String nextHopDrgAttachmentId)
The OCID of the next hop DRG attachment. The next hop DRG attachment is responsible for reaching the network destination.
nextHopDrgAttachmentId
- the value to setpublic AddDrgRouteRuleDetails build()
public AddDrgRouteRuleDetails.Builder copy(AddDrgRouteRuleDetails model)
Copyright © 2016–2024. All rights reserved.