Class V1BoundObjectReference

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1BoundObjectReference extends Object
BoundObjectReference is a reference to an object that a token is bound to.
  • Field Details

  • Constructor Details

    • V1BoundObjectReference

      public V1BoundObjectReference()
  • Method Details

    • getApiVersion

      public String getApiVersion()
      API version of the referent.
      Returns:
      the apiVersion property value
    • setApiVersion

      public void setApiVersion(String apiVersion)
      Set the apiVersion property value
    • apiVersion

      public V1BoundObjectReference apiVersion(String apiVersion)
      Set apiVersion in a chainable fashion.
      Returns:
      The same instance of V1BoundObjectReference for chaining.
    • getKind

      public String getKind()
      Kind of the referent. Valid kinds are 'Pod' and 'Secret'.
      Returns:
      the kind property value
    • setKind

      public void setKind(String kind)
      Set the kind property value
    • kind

      public V1BoundObjectReference kind(String kind)
      Set kind in a chainable fashion.
      Returns:
      The same instance of V1BoundObjectReference for chaining.
    • getName

      public String getName()
      Name of the referent.
      Returns:
      the name property value
    • setName

      public void setName(String name)
      Set the name property value
    • name

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

      public String getUid()
      UID of the referent.
      Returns:
      the uid property value
    • setUid

      public void setUid(String uid)
      Set the uid property value
    • uid

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