Class V2CrossVersionObjectReference

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V2CrossVersionObjectReference extends Object
CrossVersionObjectReference contains enough information to let you identify the referred resource.
  • Field Details

  • Constructor Details

    • V2CrossVersionObjectReference

      public V2CrossVersionObjectReference(String kind, String name)
  • Method Details

    • getApiVersion

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

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

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

      public String getKind()
      kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
      Returns:
      the kind property value
    • setKind

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

      Set kind in a chainable fashion.
      Returns:
      The same instance of V2CrossVersionObjectReference for chaining.
    • getName

      public String getName()
      name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
      Returns:
      the name property value
    • setName

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

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