Class V1alpha2TopologyConstraint

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1alpha2TopologyConstraint extends Object
TopologyConstraint defines a topology constraint for a PodGroup.
  • Field Details

  • Constructor Details

    • V1alpha2TopologyConstraint

      public V1alpha2TopologyConstraint(String key)
  • Method Details

    • getKey

      public String getKey()
      Key specifies the key of the node label representing the topology domain. All pods within the PodGroup must be colocated within the same domain instance. Different PodGroups can land on different domain instances even if they derive from the same PodGroupTemplate. Examples: \"topology.kubernetes.io/rack\"
      Returns:
      the key property value
    • setKey

      public void setKey(String key)
      Set the key property value
      Parameters:
      key - property value to set
    • key

      Set key in a chainable fashion.
      Returns:
      The same instance of V1alpha2TopologyConstraint 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