Package com.vmware.nsx_policy.model
Class TransportNodeStatus.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.TransportNodeStatus.Builder
-
- Enclosing class:
- TransportNodeStatus
public static final class TransportNodeStatus.Builder extends java.lang.Object
Builder class forTransportNodeStatus
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofTransportNodeStatus
.
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofTransportNodeStatus
.
-
-
Method Detail
-
setAgentStatus
public TransportNodeStatus.Builder setAgentStatus(AgentStatusCount agentStatus)
- Parameters:
agentStatus
- New value for the property.
-
setControlConnectionStatus
public TransportNodeStatus.Builder setControlConnectionStatus(StatusCount controlConnectionStatus)
- Parameters:
controlConnectionStatus
- New value for the property.
-
setEvpnTunnelStatus
public TransportNodeStatus.Builder setEvpnTunnelStatus(TunnelStatusCount evpnTunnelStatus)
- Parameters:
evpnTunnelStatus
- New value for the property.
-
setLastAggsvcHeartbeat
public TransportNodeStatus.Builder setLastAggsvcHeartbeat(java.lang.Long lastAggsvcHeartbeat)
Timestamp of the last agg-service heartbeat, in epoch milliseconds. format: int64- Parameters:
lastAggsvcHeartbeat
- New value for the property.
-
setLastStatusChangedTime
public TransportNodeStatus.Builder setLastStatusChangedTime(java.lang.Long lastStatusChangedTime)
Timestamp of the last status change, in epoch milliseconds. format: int64- Parameters:
lastStatusChangedTime
- New value for the property.
-
setMgmtConnectionStatus
public TransportNodeStatus.Builder setMgmtConnectionStatus(java.lang.String mgmtConnectionStatus)
Possible values are: Management connection status- Parameters:
mgmtConnectionStatus
- New value for the property.
-
setNodeDisplayName
public TransportNodeStatus.Builder setNodeDisplayName(java.lang.String nodeDisplayName)
Transport node display name- Parameters:
nodeDisplayName
- New value for the property.
-
setNodePath
public TransportNodeStatus.Builder setNodePath(java.lang.String nodePath)
Transport node path- Parameters:
nodePath
- New value for the property.
-
setNodeStatus
public TransportNodeStatus.Builder setNodeStatus(NodeStatus nodeStatus)
- Parameters:
nodeStatus
- New value for the property.
-
setNodeUuid
public TransportNodeStatus.Builder setNodeUuid(java.lang.String nodeUuid)
Transport node uuid- Parameters:
nodeUuid
- New value for the property.
-
setPnicStatus
public TransportNodeStatus.Builder setPnicStatus(StatusCount pnicStatus)
- Parameters:
pnicStatus
- New value for the property.
-
setStatus
public TransportNodeStatus.Builder setStatus(java.lang.String status)
Possible values are: Roll-up status of pNIC, management connection, control connection, tunnel status, agent status- Parameters:
status
- New value for the property.
-
setStatusDescription
public TransportNodeStatus.Builder setStatusDescription(java.lang.String statusDescription)
Describe what makes the status not UP- Parameters:
statusDescription
- New value for the property.
-
setThreatStatus
public TransportNodeStatus.Builder setThreatStatus(ThreatStatus threatStatus)
- Parameters:
threatStatus
- New value for the property.
-
setTunnelStatus
public TransportNodeStatus.Builder setTunnelStatus(TunnelStatusCount tunnelStatus)
- Parameters:
tunnelStatus
- New value for the property.
-
setVmUuid
public TransportNodeStatus.Builder setVmUuid(java.lang.String vmUuid)
Edge node virtual machine unique identifier. This is reported only for Edge Virtual Machine Type deployed on NSX configured host nodes.- Parameters:
vmUuid
- New value for the property.
-
build
public TransportNodeStatus build()
-
-