Class V1alpha2ResourceClaimConsumerReference

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1alpha2ResourceClaimConsumerReference extends Object
ResourceClaimConsumerReference contains enough information to let you locate the consumer of a ResourceClaim. The user must be a resource in the same namespace as the ResourceClaim.
  • Field Details

  • Constructor Details

    • V1alpha2ResourceClaimConsumerReference

      public V1alpha2ResourceClaimConsumerReference(String name, String resource, String uid)
  • Method Details

    • getName

      public String getName()
      Name is the name of resource 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

      Set name in a chainable fashion.
      Returns:
      The same instance of V1alpha2ResourceClaimConsumerReference for chaining.
    • getResource

      public String getResource()
      Resource is the type of resource being referenced, for example \"pods\".
      Returns:
      the resource property value
    • setResource

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

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

      public String getUid()
      UID identifies exactly one incarnation of the resource.
      Returns:
      the uid property value
    • setUid

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

      Set uid in a chainable fashion.
      Returns:
      The same instance of V1alpha2ResourceClaimConsumerReference for chaining.
    • getApiGroup

      public String getApiGroup()
      APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.
      Returns:
      the apiGroup property value
    • setApiGroup

      public void setApiGroup(String apiGroup)
      Set the apiGroup property value
      Parameters:
      apiGroup - property value to set
    • apiGroup

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