Package com.vmware.nsx_policy.model
Class AgentSubStatus.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.AgentSubStatus.Builder
-
- Enclosing class:
- AgentSubStatus
public static final class AgentSubStatus.Builder extends java.lang.Object
Builder class forAgentSubStatus
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofAgentSubStatus
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AgentSubStatus
build()
AgentSubStatus.Builder
setName(java.lang.String name)
Agent subcomponent nameAgentSubStatus.Builder
setStatus(java.lang.String status)
Possible values are:AgentSubStatus.STATUS_UP
AgentSubStatus.STATUS_DOWN
AgentSubStatus.STATUS_UNKNOWN
Agent subcomponent statusAgentSubStatus.Builder
setStatusDescription(java.lang.String statusDescription)
Describe what makes the status not UP
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofAgentSubStatus
.
-
-
Method Detail
-
setName
public AgentSubStatus.Builder setName(java.lang.String name)
Agent subcomponent name- Parameters:
name
- New value for the property.
-
setStatus
public AgentSubStatus.Builder setStatus(java.lang.String status)
Possible values are: Agent subcomponent status- Parameters:
status
- New value for the property.
-
setStatusDescription
public AgentSubStatus.Builder setStatusDescription(java.lang.String statusDescription)
Describe what makes the status not UP- Parameters:
statusDescription
- New value for the property.
-
build
public AgentSubStatus build()
-
-