Package com.oracle.bmc.core.model
Class InstancePoolLoadBalancerAttachment.Builder
- java.lang.Object
-
- com.oracle.bmc.core.model.InstancePoolLoadBalancerAttachment.Builder
-
- Enclosing class:
- InstancePoolLoadBalancerAttachment
public static class InstancePoolLoadBalancerAttachment.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public InstancePoolLoadBalancerAttachment.Builder id(String id)
The OCID of the load balancer attachment.- Parameters:
id
- the value to set- Returns:
- this builder
-
instancePoolId
public InstancePoolLoadBalancerAttachment.Builder instancePoolId(String instancePoolId)
The OCID of the instance pool of the load balancer attachment.- Parameters:
instancePoolId
- the value to set- Returns:
- this builder
-
loadBalancerId
public InstancePoolLoadBalancerAttachment.Builder loadBalancerId(String loadBalancerId)
The OCID of the load balancer attached to the instance pool.- Parameters:
loadBalancerId
- the value to set- Returns:
- this builder
-
backendSetName
public InstancePoolLoadBalancerAttachment.Builder backendSetName(String backendSetName)
The name of the backend set on the load balancer.- Parameters:
backendSetName
- the value to set- Returns:
- this builder
-
port
public InstancePoolLoadBalancerAttachment.Builder port(Integer port)
The port value used for the backends.- Parameters:
port
- the value to set- Returns:
- this builder
-
vnicSelection
public InstancePoolLoadBalancerAttachment.Builder vnicSelection(String vnicSelection)
Indicates which VNIC on each instance in the instance 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
-
lifecycleState
public InstancePoolLoadBalancerAttachment.Builder lifecycleState(InstancePoolLoadBalancerAttachment.LifecycleState lifecycleState)
The status of the interaction between the instance pool and the load balancer.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
build
public InstancePoolLoadBalancerAttachment build()
-
copy
public InstancePoolLoadBalancerAttachment.Builder copy(InstancePoolLoadBalancerAttachment model)
-
-