Class AddDrgRouteRuleDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.vnmonitoring.model.AddDrgRouteRuleDetails.Builder
 
- 
- Enclosing class:
- AddDrgRouteRuleDetails
 
 public static class AddDrgRouteRuleDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description AddDrgRouteRuleDetailsbuild()AddDrgRouteRuleDetails.Buildercopy(AddDrgRouteRuleDetails model)AddDrgRouteRuleDetails.Builderdestination(String destination)This is the range of IP addresses used for matching when routing traffic.AddDrgRouteRuleDetails.BuilderdestinationType(AddDrgRouteRuleDetails.DestinationType destinationType)Type of destination for the rule.AddDrgRouteRuleDetails.BuildernextHopDrgAttachmentId(String nextHopDrgAttachmentId)The OCID of the next hop DRG attachment.
 
- 
- 
- 
Method Detail- 
destinationTypepublic 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. - Parameters:
- destinationType- the value to set
- Returns:
- this builder
 
 - 
destinationpublic 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. - Parameters:
- destination- the value to set
- Returns:
- this builder
 
 - 
nextHopDrgAttachmentIdpublic 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. - Parameters:
- nextHopDrgAttachmentId- the value to set
- Returns:
- this builder
 
 - 
buildpublic AddDrgRouteRuleDetails build() 
 - 
copypublic AddDrgRouteRuleDetails.Builder copy(AddDrgRouteRuleDetails model) 
 
- 
 
-