public static class UpdateDrgRouteRuleDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UpdateDrgRouteRuleDetails |
build() |
UpdateDrgRouteRuleDetails.Builder |
copy(UpdateDrgRouteRuleDetails model) |
UpdateDrgRouteRuleDetails.Builder |
destination(String destination)
The range of IP addresses used for matching when routing traffic.
|
UpdateDrgRouteRuleDetails.Builder |
destinationType(UpdateDrgRouteRuleDetails.DestinationType destinationType)
Type of destination for the rule.
|
UpdateDrgRouteRuleDetails.Builder |
id(String id)
The Oracle-assigned ID of each DRG route rule to update.
|
UpdateDrgRouteRuleDetails.Builder |
nextHopDrgAttachmentId(String nextHopDrgAttachmentId)
The OCID
of the next hop DRG attachment.
|
public UpdateDrgRouteRuleDetails.Builder id(String id)
The Oracle-assigned ID of each DRG route rule to update.
id
- the value to setpublic UpdateDrgRouteRuleDetails.Builder destination(String destination)
The range of IP addresses used for matching when routing traffic.
Potential values: * IP address range in CIDR notation. 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 UpdateDrgRouteRuleDetails.Builder destinationType(UpdateDrgRouteRuleDetails.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 UpdateDrgRouteRuleDetails.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 UpdateDrgRouteRuleDetails build()
public UpdateDrgRouteRuleDetails.Builder copy(UpdateDrgRouteRuleDetails model)
Copyright © 2016–2024. All rights reserved.