Class UpdateNetworkLoadBalancerDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.networkloadbalancer.model.UpdateNetworkLoadBalancerDetails.Builder
-
- Enclosing class:
- UpdateNetworkLoadBalancerDetails
public static class UpdateNetworkLoadBalancerDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateNetworkLoadBalancerDetails.Builder
assignedIpv6(String assignedIpv6)
IPv6 address to be assigned to the network load balancer being created.UpdateNetworkLoadBalancerDetails
build()
UpdateNetworkLoadBalancerDetails.Builder
copy(UpdateNetworkLoadBalancerDetails model)
UpdateNetworkLoadBalancerDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.UpdateNetworkLoadBalancerDetails.Builder
displayName(String displayName)
The user-friendly display name for the network load balancer, which does not have to be unique and can be changed.UpdateNetworkLoadBalancerDetails.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.UpdateNetworkLoadBalancerDetails.Builder
isPreserveSourceDestination(Boolean isPreserveSourceDestination)
This parameter can be enabled only if backends are compute OCIDs.UpdateNetworkLoadBalancerDetails.Builder
isSymmetricHashEnabled(Boolean isSymmetricHashEnabled)
This can only be enabled when NLB is working in transparent mode with source destination header preservation enabled.UpdateNetworkLoadBalancerDetails.Builder
nlbIpVersion(NlbIpVersion nlbIpVersion)
IP version associated with the NLB.UpdateNetworkLoadBalancerDetails.Builder
securityAttributes(Map<String,Map<String,Object>> securityAttributes)
ZPR tags for this resource.UpdateNetworkLoadBalancerDetails.Builder
subnetIpv6Cidr(String subnetIpv6Cidr)
IPv6 subnet prefix selection.
-
-
-
Method Detail
-
displayName
public UpdateNetworkLoadBalancerDetails.Builder displayName(String displayName)
The user-friendly display name for the network load balancer, which does not have to be unique and can be changed.Avoid entering confidential information.
Example: example_network_load_balancer
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
isPreserveSourceDestination
public UpdateNetworkLoadBalancerDetails.Builder isPreserveSourceDestination(Boolean isPreserveSourceDestination)
This parameter can be enabled only if backends are compute OCIDs.When enabled, the skipSourceDestinationCheck parameter is automatically enabled on the load balancer VNIC, and packets are sent to the backend with the entire IP header intact.
- Parameters:
isPreserveSourceDestination
- the value to set- Returns:
- this builder
-
isSymmetricHashEnabled
public UpdateNetworkLoadBalancerDetails.Builder isSymmetricHashEnabled(Boolean isSymmetricHashEnabled)
This can only be enabled when NLB is working in transparent mode with source destination header preservation enabled.This removes the additional dependency from NLB backends(like Firewalls) to perform SNAT.
- Parameters:
isSymmetricHashEnabled
- the value to set- Returns:
- this builder
-
nlbIpVersion
public UpdateNetworkLoadBalancerDetails.Builder nlbIpVersion(NlbIpVersion nlbIpVersion)
IP version associated with the NLB.- Parameters:
nlbIpVersion
- the value to set- Returns:
- this builder
-
subnetIpv6Cidr
public UpdateNetworkLoadBalancerDetails.Builder subnetIpv6Cidr(String subnetIpv6Cidr)
IPv6 subnet prefix selection.If Ipv6 subnet prefix is passed, Nlb Ipv6 Address would be assign within the cidr block. NLB has to be dual or single stack ipv6 to support this.
- Parameters:
subnetIpv6Cidr
- the value to set- Returns:
- this builder
-
assignedIpv6
public UpdateNetworkLoadBalancerDetails.Builder assignedIpv6(String assignedIpv6)
IPv6 address to be assigned to the network load balancer being created.This IP address has to be part of one of the prefixes supported by the subnet. Example: “2607:9b80:9a0a:9a7e:abcd:ef01:2345:6789”
- Parameters:
assignedIpv6
- the value to set- Returns:
- this builder
-
freeformTags
public UpdateNetworkLoadBalancerDetails.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public UpdateNetworkLoadBalancerDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
securityAttributes
public UpdateNetworkLoadBalancerDetails.Builder securityAttributes(Map<String,Map<String,Object>> securityAttributes)
ZPR tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"oracle-zpr": {"td": {"value": "42", "mode": "audit"}}}
- Parameters:
securityAttributes
- the value to set- Returns:
- this builder
-
build
public UpdateNetworkLoadBalancerDetails build()
-
copy
public UpdateNetworkLoadBalancerDetails.Builder copy(UpdateNetworkLoadBalancerDetails model)
-
-