java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1ScaleSpec

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1ScaleSpec extends Object
ScaleSpec describes the attributes of a scale subresource.
  • Field Details

  • Constructor Details

    • V1ScaleSpec

      public V1ScaleSpec()
  • Method Details

    • getReplicas

      public Integer getReplicas()
      replicas is the desired number of instances for the scaled object.
      Returns:
      the replicas property value
    • setReplicas

      public void setReplicas(Integer replicas)
      Set the replicas property value
    • replicas

      public V1ScaleSpec replicas(Integer replicas)
      Set replicas in a chainable fashion.
      Returns:
      The same instance of V1ScaleSpec for chaining.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object