Class V1beta1ParentReference

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1beta1ParentReference extends Object
ParentReference describes a reference to a parent object.
  • Field Details

  • Constructor Details

    • V1beta1ParentReference

      public V1beta1ParentReference(String name, String resource)
  • Method Details

    • getName

      public String getName()
      Name is the name of the object being referenced.
      Returns:
      the name property value
    • setName

      public void setName(String name)
      Set the name property value
      Parameters:
      name - property value to set
    • name

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

      public String getResource()
      Resource is the resource of the object being referenced.
      Returns:
      the resource property value
    • setResource

      public void setResource(String resource)
      Set the resource property value
      Parameters:
      resource - property value to set
    • resource

      public V1beta1ParentReference resource(String resource)
      Set resource in a chainable fashion.
      Returns:
      The same instance of V1beta1ParentReference for chaining.
    • getGroup

      public String getGroup()
      Group is the group of the object being referenced.
      Returns:
      the group property value
    • setGroup

      public void setGroup(String group)
      Set the group property value
      Parameters:
      group - property value to set
    • group

      public V1beta1ParentReference group(String group)
      Set group in a chainable fashion.
      Returns:
      The same instance of V1beta1ParentReference for chaining.
    • getNamespace

      public String getNamespace()
      Namespace is the namespace of the object being referenced.
      Returns:
      the namespace property value
    • setNamespace

      public void setNamespace(String namespace)
      Set the namespace property value
      Parameters:
      namespace - property value to set
    • namespace

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