Package com.vmware.nsx_policy.model
Class TunnelStatusCount.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.TunnelStatusCount.Builder
-
- Enclosing class:
- TunnelStatusCount
public static final class TunnelStatusCount.Builder extends java.lang.Object
Builder class forTunnelStatusCount
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofTunnelStatusCount
.
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofTunnelStatusCount
.
-
-
Method Detail
-
setDegradedCount
public TunnelStatusCount.Builder setDegradedCount(java.lang.Long degradedCount)
Degraded count format: int32- Parameters:
degradedCount
- New value for the property.
-
setDownCount
public TunnelStatusCount.Builder setDownCount(java.lang.Long downCount)
Down count format: int32- Parameters:
downCount
- New value for the property.
-
setDownPnics
public TunnelStatusCount.Builder setDownPnics(java.util.List<PnicBondStatus> downPnics)
List Down or Degraded pnics- Parameters:
downPnics
- New value for the property.
-
setLastStatusChangedTime
public TunnelStatusCount.Builder setLastStatusChangedTime(java.lang.Long lastStatusChangedTime)
Timestamp of the last status change, in epoch milliseconds format: int64- Parameters:
lastStatusChangedTime
- New value for the property.
-
setStatus
public TunnelStatusCount.Builder setStatus(java.lang.String status)
Possible values are: Roll-up status- Parameters:
status
- New value for the property.
-
setStatusDescription
public TunnelStatusCount.Builder setStatusDescription(java.lang.String statusDescription)
Describe what makes the status not UP- Parameters:
statusDescription
- New value for the property.
-
setUpCount
public TunnelStatusCount.Builder setUpCount(java.lang.Long upCount)
Up count format: int32- Parameters:
upCount
- New value for the property.
-
setBfdDiagnostic
public TunnelStatusCount.Builder setBfdDiagnostic(BFDDiagnosticCount bfdDiagnostic)
- Parameters:
bfdDiagnostic
- New value for the property.
-
setBfdStatus
public TunnelStatusCount.Builder setBfdStatus(BFDStatusCount bfdStatus)
- Parameters:
bfdStatus
- New value for the property.
-
build
public TunnelStatusCount build()
-
-