Package com.vmware.nsx_policy.model
Class ALBControllerNodeInfo.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.ALBControllerNodeInfo.Builder
-
- Enclosing class:
- ALBControllerNodeInfo
public static final class ALBControllerNodeInfo.Builder extends java.lang.Object
Builder class forALBControllerNodeInfo
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofALBControllerNodeInfo
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ALBControllerNodeInfo
build()
ALBControllerNodeInfo.Builder
setIsDhcp(java.lang.Boolean isDhcp)
Advanced Load Balancer controller node IP configuration is static or DHCP.ALBControllerNodeInfo.Builder
setNodeIp(java.lang.String nodeIp)
Advanced Load Balancer controller node IP.ALBControllerNodeInfo.Builder
setNodeName(java.lang.String nodeName)
Advanced Load Balancer controller node name.ALBControllerNodeInfo.Builder
setNodeRole(java.lang.String nodeRole)
Advanced Load Balancer controller node role in cluster.ALBControllerNodeInfo.Builder
setNodeStartTime(java.lang.Long nodeStartTime)
Advanced Load Balancer controller node start time in its local timezone.ALBControllerNodeInfo.Builder
setNodeState(java.lang.String nodeState)
Advanced Load Balancer controller node current state in the cluster.ALBControllerNodeInfo.Builder
setVmId(java.lang.String vmId)
ID of the VM maintained internally.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofALBControllerNodeInfo
.
-
-
Method Detail
-
setIsDhcp
public ALBControllerNodeInfo.Builder setIsDhcp(java.lang.Boolean isDhcp)
Advanced Load Balancer controller node IP configuration is static or DHCP. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
isDhcp
- New value for the property.
-
setNodeIp
public ALBControllerNodeInfo.Builder setNodeIp(java.lang.String nodeIp)
Advanced Load Balancer controller node IP. format: ip This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
nodeIp
- New value for the property.
-
setNodeName
public ALBControllerNodeInfo.Builder setNodeName(java.lang.String nodeName)
Advanced Load Balancer controller node name. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
nodeName
- New value for the property.
-
setNodeRole
public ALBControllerNodeInfo.Builder setNodeRole(java.lang.String nodeRole)
Advanced Load Balancer controller node role in cluster. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
nodeRole
- New value for the property.
-
setNodeStartTime
public ALBControllerNodeInfo.Builder setNodeStartTime(java.lang.Long nodeStartTime)
Advanced Load Balancer controller node start time in its local timezone. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
nodeStartTime
- New value for the property.
-
setNodeState
public ALBControllerNodeInfo.Builder setNodeState(java.lang.String nodeState)
Advanced Load Balancer controller node current state in the cluster. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
nodeState
- New value for the property.
-
setVmId
public ALBControllerNodeInfo.Builder setVmId(java.lang.String vmId)
ID of the VM maintained internally. Note: This is automatically generated and cannot be modified. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
vmId
- New value for the property.
-
build
public ALBControllerNodeInfo build()
-
-