public static final class TunnelStatusCount.Builder
extends java.lang.Object
TunnelStatusCount.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
TunnelStatusCount. |
| Modifier and Type | Method and Description |
|---|---|
TunnelStatusCount |
build() |
TunnelStatusCount.Builder |
setBfdDiagnostic(BFDDiagnosticCount bfdDiagnostic) |
TunnelStatusCount.Builder |
setBfdStatus(BFDStatusCount bfdStatus) |
TunnelStatusCount.Builder |
setDegradedCount(java.lang.Long degradedCount)
Degraded count format: int32
|
TunnelStatusCount.Builder |
setDownCount(java.lang.Long downCount)
Down count format: int32
|
TunnelStatusCount.Builder |
setStatus(java.lang.String status)
Possible values are:
TunnelStatusCount.STATUS_UP TunnelStatusCount.STATUS_DOWN TunnelStatusCount.STATUS_DEGRADED TunnelStatusCount.STATUS_UNKNOWN Roll-up status |
TunnelStatusCount.Builder |
setUpCount(java.lang.Long upCount)
Up count format: int32
|
public Builder()
TunnelStatusCount.public TunnelStatusCount.Builder setDegradedCount(java.lang.Long degradedCount)
degradedCount - New value for the property.public TunnelStatusCount.Builder setDownCount(java.lang.Long downCount)
downCount - New value for the property.public TunnelStatusCount.Builder setStatus(java.lang.String status)
status - New value for the property.public TunnelStatusCount.Builder setUpCount(java.lang.Long upCount)
upCount - New value for the property.public TunnelStatusCount.Builder setBfdDiagnostic(BFDDiagnosticCount bfdDiagnostic)
bfdDiagnostic - New value for the property.public TunnelStatusCount.Builder setBfdStatus(BFDStatusCount bfdStatus)
bfdStatus - New value for the property.public TunnelStatusCount build()