Class V1StatefulSetOrdinals

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1StatefulSetOrdinals extends Object
StatefulSetOrdinals describes the policy used for replica ordinal assignment in this StatefulSet.
  • Field Details

  • Constructor Details

    • V1StatefulSetOrdinals

      public V1StatefulSetOrdinals()
  • Method Details

    • getStart

      public Integer getStart()
      start is the number representing the first replica's index. It may be used to number replicas from an alternate index (eg: 1-indexed) over the default 0-indexed names, or to orchestrate progressive movement of replicas from one StatefulSet to another. If set, replica indices will be in the range: [.spec.ordinals.start, .spec.ordinals.start + .spec.replicas). If unset, defaults to 0. Replica indices will be in the range: [0, .spec.replicas).
      Returns:
      the start property value
    • setStart

      public void setStart(Integer start)
      Set the start property value
      Parameters:
      start - property value to set
    • start

      public V1StatefulSetOrdinals start(Integer start)
      Set start in a chainable fashion.
      Returns:
      The same instance of V1StatefulSetOrdinals 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