Package com.vmware.nsx_policy.model
Class TnNodeStackSpanStatus.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.TnNodeStackSpanStatus.Builder
-
- Enclosing class:
- TnNodeStackSpanStatus
public static final class TnNodeStackSpanStatus.Builder extends java.lang.Object
Builder class forTnNodeStackSpanStatus
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofTnNodeStackSpanStatus
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TnNodeStackSpanStatus
build()
TnNodeStackSpanStatus.Builder
setDedicatedStackStatus(java.lang.String dedicatedStackStatus)
Possible values are:TnNodeStackSpanStatus.DEDICATED_STACK_STATUS_UNKNOWN
TnNodeStackSpanStatus.DEDICATED_STACK_STATUS_SUCCESS
TnNodeStackSpanStatus.DEDICATED_STACK_STATUS_FAILED
Show the dedicated mirror stack health status, if the TN node has the mirror stack, it will show SUCCESS or it will show FAILED.TnNodeStackSpanStatus.Builder
setDetail(java.lang.String detail)
Give the detail info for mirror stack and vmknic health status.TnNodeStackSpanStatus.Builder
setLastUpdatedTime(java.lang.Long lastUpdatedTime)
TN miror stack status will be updated periodically, this item indicates the lastest timestamp of TN node stack status is updated.TnNodeStackSpanStatus.Builder
setTnNodeId(java.lang.String tnNodeId)
For L3PortMirrorSession configured mirror stack, show the TN node UUID which spaned in L3PortMirrorSession.TnNodeStackSpanStatus.Builder
setTnNodeName(java.lang.String tnNodeName)
For L3PortMirrorSession configured mirror stack, show the TN node friendly name which spaned in L3PortMirrorSession.TnNodeStackSpanStatus.Builder
setVmknicStatus(java.lang.String vmknicStatus)
Possible values are:TnNodeStackSpanStatus.VMKNIC_STATUS_UNKNOWN
TnNodeStackSpanStatus.VMKNIC_STATUS_SUCCESS
TnNodeStackSpanStatus.VMKNIC_STATUS_FAILED
Show the vmknic health status, if the vmknic has been bouned to mirror stack, it will show SUCCESS or it will show FAILED.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofTnNodeStackSpanStatus
.
-
-
Method Detail
-
setDedicatedStackStatus
public TnNodeStackSpanStatus.Builder setDedicatedStackStatus(java.lang.String dedicatedStackStatus)
Possible values are: Show the dedicated mirror stack health status, if the TN node has the mirror stack, it will show SUCCESS or it will show FAILED.- Parameters:
dedicatedStackStatus
- New value for the property.
-
setDetail
public TnNodeStackSpanStatus.Builder setDetail(java.lang.String detail)
Give the detail info for mirror stack and vmknic health status. If the stack or vmknic is FAILED, detail info will tell user reason why the stauts is FAILED. So that user can correct their configuration.- Parameters:
detail
- New value for the property.
-
setLastUpdatedTime
public TnNodeStackSpanStatus.Builder setLastUpdatedTime(java.lang.Long lastUpdatedTime)
TN miror stack status will be updated periodically, this item indicates the lastest timestamp of TN node stack status is updated. format: int64- Parameters:
lastUpdatedTime
- New value for the property.
-
setTnNodeId
public TnNodeStackSpanStatus.Builder setTnNodeId(java.lang.String tnNodeId)
For L3PortMirrorSession configured mirror stack, show the TN node UUID which spaned in L3PortMirrorSession.- Parameters:
tnNodeId
- New value for the property.
-
setTnNodeName
public TnNodeStackSpanStatus.Builder setTnNodeName(java.lang.String tnNodeName)
For L3PortMirrorSession configured mirror stack, show the TN node friendly name which spaned in L3PortMirrorSession.- Parameters:
tnNodeName
- New value for the property.
-
setVmknicStatus
public TnNodeStackSpanStatus.Builder setVmknicStatus(java.lang.String vmknicStatus)
Possible values are: Show the vmknic health status, if the vmknic has been bouned to mirror stack, it will show SUCCESS or it will show FAILED.- Parameters:
vmknicStatus
- New value for the property.
-
build
public TnNodeStackSpanStatus build()
-
-