Class ScaleStatus.Builder

  • Enclosing class:
    ScaleStatus

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

      • replicas

        public ScaleStatus.Builder replicas​(@NonNull
                                            @NonNull java.lang.Number replicas)
        actual number of observed instances of the scaled object.
        Returns:
        this.
      • selector

        public ScaleStatus.Builder selector​(java.lang.String selector)
        label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors
        Returns:
        this.
      • toString

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