Package com.oracle.bmc.core.model
Class AttachLoadBalancerDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.core.model.AttachLoadBalancerDetails.Builder
-
- Enclosing class:
- AttachLoadBalancerDetails
public static class AttachLoadBalancerDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttachLoadBalancerDetails.Builder
backendSetName(String backendSetName)
The name of the backend set on the load balancer to add instances to.AttachLoadBalancerDetails
build()
AttachLoadBalancerDetails.Builder
copy(AttachLoadBalancerDetails model)
AttachLoadBalancerDetails.Builder
loadBalancerId(String loadBalancerId)
The OCID of the load balancer to attach to the instance pool.AttachLoadBalancerDetails.Builder
port(Integer port)
The port value to use when creating the backend set.AttachLoadBalancerDetails.Builder
vnicSelection(String vnicSelection)
Indicates which VNIC on each instance in the pool should be used to associate with the load balancer.
-
-
-
Method Detail
-
loadBalancerId
public AttachLoadBalancerDetails.Builder loadBalancerId(String loadBalancerId)
The OCID of the load balancer to attach to the instance pool.- Parameters:
loadBalancerId
- the value to set- Returns:
- this builder
-
backendSetName
public AttachLoadBalancerDetails.Builder backendSetName(String backendSetName)
The name of the backend set on the load balancer to add instances to.- Parameters:
backendSetName
- the value to set- Returns:
- this builder
-
port
public AttachLoadBalancerDetails.Builder port(Integer port)
The port value to use when creating the backend set.- Parameters:
port
- the value to set- Returns:
- this builder
-
vnicSelection
public AttachLoadBalancerDetails.Builder vnicSelection(String vnicSelection)
Indicates which VNIC on each instance in the pool should be used to associate with the load balancer.Possible values are “PrimaryVnic” or the displayName of one of the secondary VNICs on the instance configuration that is associated with the instance pool.
- Parameters:
vnicSelection
- the value to set- Returns:
- this builder
-
build
public AttachLoadBalancerDetails build()
-
copy
public AttachLoadBalancerDetails.Builder copy(AttachLoadBalancerDetails model)
-
-