Class V1PodResourceClaimStatus

java.lang.Object
io.kubernetes.client.openapi.models.V1PodResourceClaimStatus

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2026-06-26T22:35:15.319369Z[Etc/UTC]", comments="Generator version: 7.18.0") 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()
  • Method Details

    • name

      public V1PodResourceClaimStatus name(@Nonnull String name)
    • getName

      @Nonnull 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:
      name
    • setName

      public void setName(@Nonnull String name)
    • resourceClaimName

      public V1PodResourceClaimStatus resourceClaimName(@Nullable String resourceClaimName)
    • getResourceClaimName

      @Nullable public String getResourceClaimName()
      ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod. When the DRAWorkloadResourceClaims feature is enabled and the corresponding PodResourceClaim matches a PodGroupResourceClaim made by the Pod's PodGroup, then this is the name of the ResourceClaim generated and reserved for the PodGroup. If this is unset, then generating a ResourceClaim was not necessary. The pod.spec.resourceClaims entry can be ignored in this case.
      Returns:
      resourceClaimName
    • setResourceClaimName

      public void setResourceClaimName(@Nullable String resourceClaimName)
    • 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
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Validates the JSON Element and throws an exception if issues found
      Parameters:
      jsonElement - JSON Element
      Throws:
      IOException - if the JSON Element is invalid with respect to V1PodResourceClaimStatus
    • fromJson

      public static V1PodResourceClaimStatus fromJson(String jsonString) throws IOException
      Create an instance of V1PodResourceClaimStatus given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of V1PodResourceClaimStatus
      Throws:
      IOException - if the JSON string is invalid with respect to V1PodResourceClaimStatus
    • toJson

      public String toJson()
      Convert an instance of V1PodResourceClaimStatus to an JSON string
      Returns:
      JSON string