Class V1VolumeNodeAffinity

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1VolumeNodeAffinity extends Object
VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from.
  • Field Details

  • Constructor Details

    • V1VolumeNodeAffinity

      public V1VolumeNodeAffinity()
  • Method Details

    • getRequired

      public V1NodeSelector getRequired()
      Returns:
      the required property value
    • setRequired

      public void setRequired(V1NodeSelector required)
      Set the required property value
    • required

      public V1VolumeNodeAffinity required(V1NodeSelector required)
      Set required in a chainable fashion.
      Returns:
      The same instance of V1VolumeNodeAffinity 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