Class StatusCount.Builder

  • Enclosing class:
    StatusCount

    public static final class StatusCount.Builder
    extends java.lang.Object
    Builder class for StatusCount.
    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of StatusCount.
    • Method Detail

      • setDegradedCount

        public StatusCount.Builder setDegradedCount​(java.lang.Long degradedCount)
        Degraded count format: int32
        Parameters:
        degradedCount - New value for the property.
      • setDownCount

        public StatusCount.Builder setDownCount​(java.lang.Long downCount)
        Down count format: int32
        Parameters:
        downCount - New value for the property.
      • setDownPnics

        public StatusCount.Builder setDownPnics​(java.util.List<PnicBondStatus> downPnics)
        List Down or Degraded pnics
        Parameters:
        downPnics - New value for the property.
      • setLastStatusChangedTime

        public StatusCount.Builder setLastStatusChangedTime​(java.lang.Long lastStatusChangedTime)
        Timestamp of the last status change, in epoch milliseconds format: int64
        Parameters:
        lastStatusChangedTime - New value for the property.
      • setStatusDescription

        public StatusCount.Builder setStatusDescription​(java.lang.String statusDescription)
        Describe what makes the status not UP
        Parameters:
        statusDescription - New value for the property.
      • setUpCount

        public StatusCount.Builder setUpCount​(java.lang.Long upCount)
        Up count format: int32
        Parameters:
        upCount - New value for the property.