Class V1PodResourceClaim

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1PodResourceClaim extends Object
PodResourceClaim references exactly one ResourceClaim through a ClaimSource. It adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name.
  • Field Details

  • Constructor Details

    • V1PodResourceClaim

      public V1PodResourceClaim(String name)
  • Method Details

    • getName

      public String getName()
      Name uniquely identifies this resource claim inside the pod. This must be a DNS_LABEL.
      Returns:
      the name property value
    • setName

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

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

      public V1ClaimSource getSource()
      Returns:
      the source property value
    • setSource

      public void setSource(V1ClaimSource source)
      Set the source property value
      Parameters:
      source - property value to set
    • source

      public V1PodResourceClaim source(V1ClaimSource source)
      Set source in a chainable fashion.
      Returns:
      The same instance of V1PodResourceClaim 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