Package com.vmware.nsx_policy.model
Class ShaMonitorStatusDetail.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.ShaMonitorStatusDetail.Builder
-
- Enclosing class:
- ShaMonitorStatusDetail
public static final class ShaMonitorStatusDetail.Builder extends java.lang.ObjectBuilder class forShaMonitorStatusDetail.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofShaMonitorStatusDetail.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShaMonitorStatusDetailbuild()ShaMonitorStatusDetail.BuildersetOverallStatus(java.lang.String overallStatus)Possible values are:ShaMonitorStatusDetail.OVERALL_STATUS_UNKNOWNShaMonitorStatusDetail.OVERALL_STATUS_NORMALShaMonitorStatusDetail.OVERALL_STATUS_RUNNING_ERRORShaMonitorStatusDetail.OVERALL_STATUS_PARTIAL_ERRORThe overall status is calculated based on the status of the sub-monitors if there are.ShaMonitorStatusDetail.BuildersetStatusDescription(java.lang.String statusDescription)Description of this monitor statusShaMonitorStatusDetail.BuildersetStatusDetailPerSubMonitor(java.util.List<ShaSubMonitorStatusDetail> statusDetailPerSubMonitor)The status detail for each sub-monitors
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofShaMonitorStatusDetail.
-
-
Method Detail
-
setOverallStatus
public ShaMonitorStatusDetail.Builder setOverallStatus(java.lang.String overallStatus)
Possible values are: The overall status is calculated based on the status of the sub-monitors if there are. UNKNOWN - UNKNOWN status. NORMAL - This monitor or all the sub-monitors of it running normally. RUNNING_ERROR - This monitor or all the sub-monitors of it encounter running error. PARTIAL_ERROR - Some of the sub-monitors of this monitor encounter running error.- Parameters:
overallStatus- New value for the property.
-
setStatusDescription
public ShaMonitorStatusDetail.Builder setStatusDescription(java.lang.String statusDescription)
Description of this monitor status- Parameters:
statusDescription- New value for the property.
-
setStatusDetailPerSubMonitor
public ShaMonitorStatusDetail.Builder setStatusDetailPerSubMonitor(java.util.List<ShaSubMonitorStatusDetail> statusDetailPerSubMonitor)
The status detail for each sub-monitors- Parameters:
statusDetailPerSubMonitor- New value for the property.
-
build
public ShaMonitorStatusDetail build()
-
-