Class PlatformCpuStats.Builder

    • Constructor Detail

      • Builder

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

      • setHist0Pct

        public PlatformCpuStats.Builder setHist0Pct​(java.lang.Long hist0Pct)
        Number of (V)CPUs with utilization between 0% and 50%. format: int32
        Parameters:
        hist0Pct - New value for the property.
      • setHist50Pct

        public PlatformCpuStats.Builder setHist50Pct​(java.lang.Long hist50Pct)
        Number of (V)CPUs with utilization between 50% and 75%. format: int32
        Parameters:
        hist50Pct - New value for the property.
      • setHist75Pct

        public PlatformCpuStats.Builder setHist75Pct​(java.lang.Long hist75Pct)
        Number of (V)CPUs with utilization between 75% and 85%. format: int32
        Parameters:
        hist75Pct - New value for the property.
      • setHist85Pct

        public PlatformCpuStats.Builder setHist85Pct​(java.lang.Long hist85Pct)
        Number of (V)CPUs with utilization between 85% and 90%. format: int32
        Parameters:
        hist85Pct - New value for the property.
      • setHist90Pct

        public PlatformCpuStats.Builder setHist90Pct​(java.lang.Long hist90Pct)
        Number of (V)CPUs with utilization between 90% and 95%. format: int32
        Parameters:
        hist90Pct - New value for the property.
      • setHist95Pct

        public PlatformCpuStats.Builder setHist95Pct​(java.lang.Long hist95Pct)
        Number of (V)CPUs with utilization > 95%. format: int32
        Parameters:
        hist95Pct - New value for the property.
      • setTotalCpu

        public PlatformCpuStats.Builder setTotalCpu​(java.lang.Double totalCpu)
        Sum of utilization of all (V)CPUs on the host.
        Parameters:
        totalCpu - New value for the property.