Class V1Preconditions

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1Preconditions extends Object
Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.
  • Field Details

  • Constructor Details

    • V1Preconditions

      public V1Preconditions()
  • Method Details

    • getResourceVersion

      public String getResourceVersion()
      Specifies the target ResourceVersion
      Returns:
      the resourceVersion property value
    • setResourceVersion

      public void setResourceVersion(String resourceVersion)
      Set the resourceVersion property value
      Parameters:
      resourceVersion - property value to set
    • resourceVersion

      public V1Preconditions resourceVersion(String resourceVersion)
      Set resourceVersion in a chainable fashion.
      Returns:
      The same instance of V1Preconditions for chaining.
    • getUid

      public String getUid()
      Specifies the target UID.
      Returns:
      the uid property value
    • setUid

      public void setUid(String uid)
      Set the uid property value
      Parameters:
      uid - property value to set
    • uid

      public V1Preconditions uid(String uid)
      Set uid in a chainable fashion.
      Returns:
      The same instance of V1Preconditions 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