Class ResourceMetricStatus.Builder

  • Enclosing class:
    ResourceMetricStatus

    public static class ResourceMetricStatus.Builder
    extends java.lang.Object
    • Method Detail

      • currentAverageUtilization

        public ResourceMetricStatus.Builder currentAverageUtilization​(java.lang.Number currentAverageUtilization)
        currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.
        Returns:
        this.
      • name

        public ResourceMetricStatus.Builder name​(@NonNull
                                                 @NonNull java.lang.String name)
        name is the name of the resource in question.
        Returns:
        this.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object