Package com.vmware.nsx_policy.model
Class MpsTnComponentHealthStatus.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.MpsTnComponentHealthStatus.Builder
-
- Enclosing class:
- MpsTnComponentHealthStatus
public static final class MpsTnComponentHealthStatus.Builder extends java.lang.Object
Builder class forMpsTnComponentHealthStatus
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofMpsTnComponentHealthStatus
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MpsTnComponentHealthStatus
build()
MpsTnComponentHealthStatus.Builder
setIsStale(java.lang.Boolean isStale)
The parameter is set if the last received health status is older than the predefined interval of 4 minutes.MpsTnComponentHealthStatus.Builder
setLastUpdateTime(java.lang.String lastUpdateTime)
Latest timestamp when health status is received.MpsTnComponentHealthStatus.Builder
setServiceName(java.lang.String serviceName)
application.MpsTnComponentHealthStatus.Builder
setServiceStatus(java.lang.String serviceStatus)
Status of MPS Component running status.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofMpsTnComponentHealthStatus
.
-
-
Method Detail
-
setIsStale
public MpsTnComponentHealthStatus.Builder setIsStale(java.lang.Boolean isStale)
The parameter is set if the last received health status is older than the predefined interval of 4 minutes. 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:
isStale
- New value for the property.
-
setLastUpdateTime
public MpsTnComponentHealthStatus.Builder setLastUpdateTime(java.lang.String lastUpdateTime)
Latest timestamp when health status is received. 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:
lastUpdateTime
- New value for the property.
-
setServiceName
public MpsTnComponentHealthStatus.Builder setServiceName(java.lang.String serviceName)
application. 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:
serviceName
- New value for the property.
-
setServiceStatus
public MpsTnComponentHealthStatus.Builder setServiceStatus(java.lang.String serviceStatus)
Status of MPS Component running status. 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:
serviceStatus
- New value for the property.
-
build
public MpsTnComponentHealthStatus build()
-
-