public static class InstancePoolLoadBalancerAttachment.Builder extends Object
Constructor and Description |
---|
Builder() |
public InstancePoolLoadBalancerAttachment.Builder id(String id)
The OCID of the load balancer attachment.
id
- the value to setpublic InstancePoolLoadBalancerAttachment.Builder instancePoolId(String instancePoolId)
The OCID of the instance pool of the load balancer attachment.
instancePoolId
- the value to setpublic InstancePoolLoadBalancerAttachment.Builder loadBalancerId(String loadBalancerId)
The OCID of the load balancer attached to the instance pool.
loadBalancerId
- the value to setpublic InstancePoolLoadBalancerAttachment.Builder backendSetName(String backendSetName)
The name of the backend set on the load balancer.
backendSetName
- the value to setpublic InstancePoolLoadBalancerAttachment.Builder port(Integer port)
The port value used for the backends.
port
- the value to setpublic 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.
vnicSelection
- the value to setpublic InstancePoolLoadBalancerAttachment.Builder lifecycleState(InstancePoolLoadBalancerAttachment.LifecycleState lifecycleState)
The status of the interaction between the instance pool and the load balancer.
lifecycleState
- the value to setpublic InstancePoolLoadBalancerAttachment build()
public InstancePoolLoadBalancerAttachment.Builder copy(InstancePoolLoadBalancerAttachment model)
Copyright © 2016–2024. All rights reserved.