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.Object
Builder 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 ShaMonitorStatusDetail
build()
ShaMonitorStatusDetail.Builder
setOverallStatus(java.lang.String overallStatus)
Possible values are:ShaMonitorStatusDetail.OVERALL_STATUS_UNKNOWN
ShaMonitorStatusDetail.OVERALL_STATUS_NORMAL
ShaMonitorStatusDetail.OVERALL_STATUS_RUNNING_ERROR
ShaMonitorStatusDetail.OVERALL_STATUS_PARTIAL_ERROR
The overall status is calculated based on the status of the sub-monitors if there are.ShaMonitorStatusDetail.Builder
setStatusDescription(java.lang.String statusDescription)
Description of this monitor statusShaMonitorStatusDetail.Builder
setStatusDetailPerSubMonitor(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()
-
-