Package com.vmware.nsx_policy.model
Class ComponentConditionItem.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.ComponentConditionItem.Builder
-
- Enclosing class:
- ComponentConditionItem
public static final class ComponentConditionItem.Builder extends java.lang.Object
Builder class forComponentConditionItem
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofComponentConditionItem
.
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofComponentConditionItem
.
-
-
Method Detail
-
setConditionType
public ComponentConditionItem.Builder setConditionType(java.lang.String conditionType)
Possible values are: Indicate which component condition it is. 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:
conditionType
- New value for the property.
-
setLastHeartbeatTime
public ComponentConditionItem.Builder setLastHeartbeatTime(java.lang.Long lastHeartbeatTime)
Time unit is millisecond. format: int64- Parameters:
lastHeartbeatTime
- New value for the property.
-
setMessage
public ComponentConditionItem.Builder setMessage(java.lang.String message)
Additional condition information.- Parameters:
message
- New value for the property.
-
setReason
public ComponentConditionItem.Builder setReason(java.lang.String reason)
Indicate why not healthy.- Parameters:
reason
- New value for the property.
-
setStatus
public ComponentConditionItem.Builder setStatus(java.lang.String status)
Possible values are: Indicate healthy or unhealthy.- Parameters:
status
- New value for the property.
-
build
public ComponentConditionItem build()
-
-