Class ScaleSpec.Builder

  • Enclosing class:
    ScaleSpec

    public static class ScaleSpec.Builder
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ScaleSpec build()  
      ScaleSpec.Builder replicas​(java.lang.Number replicas)
      replicas is the desired number of instances for the scaled object.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • replicas

        public ScaleSpec.Builder replicas​(java.lang.Number replicas)
        replicas is the desired number of instances for the scaled object.
        Returns:
        this.
      • toString

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