Class UpdateDrgRouteRuleDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.vnmonitoring.model.UpdateDrgRouteRuleDetails.Builder
-
- Enclosing class:
- UpdateDrgRouteRuleDetails
public static class UpdateDrgRouteRuleDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateDrgRouteRuleDetailsbuild()UpdateDrgRouteRuleDetails.Buildercopy(UpdateDrgRouteRuleDetails model)UpdateDrgRouteRuleDetails.Builderdestination(String destination)The range of IP addresses used for matching when routing traffic.UpdateDrgRouteRuleDetails.BuilderdestinationType(UpdateDrgRouteRuleDetails.DestinationType destinationType)Type of destination for the rule.UpdateDrgRouteRuleDetails.Builderid(String id)The Oracle-assigned ID of each DRG route rule to update.UpdateDrgRouteRuleDetails.BuildernextHopDrgAttachmentId(String nextHopDrgAttachmentId)The OCID of the next hop DRG attachment.
-
-
-
Method Detail
-
id
public UpdateDrgRouteRuleDetails.Builder id(String id)
The Oracle-assigned ID of each DRG route rule to update.- Parameters:
id- the value to set- Returns:
- this builder
-
destination
public 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.
- Parameters:
destination- the value to set- Returns:
- this builder
-
destinationType
public 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.
- Parameters:
destinationType- the value to set- Returns:
- this builder
-
nextHopDrgAttachmentId
public 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.
- Parameters:
nextHopDrgAttachmentId- the value to set- Returns:
- this builder
-
build
public UpdateDrgRouteRuleDetails build()
-
copy
public UpdateDrgRouteRuleDetails.Builder copy(UpdateDrgRouteRuleDetails model)
-
-