Class V1PodResourceClaimStatus

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1PodResourceClaimStatus extends Object
PodResourceClaimStatus is stored in the PodStatus for each PodResourceClaim which references a ResourceClaimTemplate. It stores the generated name for the corresponding ResourceClaim.
  • Field Details

  • Constructor Details

    • V1PodResourceClaimStatus

      public V1PodResourceClaimStatus(String name)
  • Method Details

    • getName

      public String getName()
      Name uniquely identifies this resource claim inside the pod. This must match the name of an entry in pod.spec.resourceClaims, which implies that the string 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 V1PodResourceClaimStatus name(String name)
      Set name in a chainable fashion.
      Returns:
      The same instance of V1PodResourceClaimStatus for chaining.
    • getResourceClaimName

      public String getResourceClaimName()
      ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod. If this is unset, then generating a ResourceClaim was not necessary. The pod.spec.resourceClaims entry can be ignored in this case.
      Returns:
      the resourceClaimName property value
    • setResourceClaimName

      public void setResourceClaimName(String resourceClaimName)
      Set the resourceClaimName property value
      Parameters:
      resourceClaimName - property value to set
    • resourceClaimName

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