Package com.vmware.nsx_policy.model
Class LBServiceInstanceDetailPerStatus.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.LBServiceInstanceDetailPerStatus.Builder
-
- Enclosing class:
- LBServiceInstanceDetailPerStatus
public static final class LBServiceInstanceDetailPerStatus.Builder extends java.lang.Object
Builder class forLBServiceInstanceDetailPerStatus
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofLBServiceInstanceDetailPerStatus
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LBServiceInstanceDetailPerStatus
build()
LBServiceInstanceDetailPerStatus.Builder
setInstanceDetails(java.util.List<LBServiceInstanceDetail> instanceDetails)
The detailed information of the load balancer instance.LBServiceInstanceDetailPerStatus.Builder
setInstanceNumber(java.lang.Long instanceNumber)
It means the total number of instances in this status type for the given transport node.LBServiceInstanceDetailPerStatus.Builder
setStatus(java.lang.String status)
Possible values are:LBServiceInstanceDetailPerStatus.STATUS_READY
LBServiceInstanceDetailPerStatus.STATUS_CONFLICT
LBServiceInstanceDetailPerStatus.STATUS_NOT_READY
The type of load balancer instance status.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofLBServiceInstanceDetailPerStatus
.
-
-
Method Detail
-
setInstanceDetails
public LBServiceInstanceDetailPerStatus.Builder setInstanceDetails(java.util.List<LBServiceInstanceDetail> instanceDetails)
The detailed information of the load balancer instance. This field will be only returned on realtime status API.- Parameters:
instanceDetails
- New value for the property.
-
setInstanceNumber
public LBServiceInstanceDetailPerStatus.Builder setInstanceNumber(java.lang.Long instanceNumber)
It means the total number of instances in this status type for the given transport node. format: int64- Parameters:
instanceNumber
- New value for the property.
-
setStatus
public LBServiceInstanceDetailPerStatus.Builder setStatus(java.lang.String status)
Possible values are: The type of load balancer instance status.- Parameters:
status
- New value for the property.
-
build
public LBServiceInstanceDetailPerStatus build()
-
-