Class V1alpha2PodGroupResourceClaimStatus

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2026-06-26T22:35:15.319369Z[Etc/UTC]", comments="Generator version: 7.18.0") public class V1alpha2PodGroupResourceClaimStatus extends Object
PodGroupResourceClaimStatus is stored in the PodGroupStatus for each PodGroupResourceClaim which references a ResourceClaimTemplate. It stores the generated name for the corresponding ResourceClaim.
  • Field Details

  • Constructor Details

    • V1alpha2PodGroupResourceClaimStatus

      public V1alpha2PodGroupResourceClaimStatus()
  • Method Details

    • name

      public V1alpha2PodGroupResourceClaimStatus name(@Nonnull String name)
    • getName

      @Nonnull public String getName()
      Name uniquely identifies this resource claim inside the PodGroup. This must match the name of an entry in podgroup.spec.resourceClaims, which implies that the string must be a DNS_LABEL.
      Returns:
      name
    • setName

      public void setName(@Nonnull String name)
    • resourceClaimName

      public V1alpha2PodGroupResourceClaimStatus resourceClaimName(@Nullable String resourceClaimName)
    • getResourceClaimName

      @Nullable public String getResourceClaimName()
      ResourceClaimName is the name of the ResourceClaim that was generated for the PodGroup in the namespace of the PodGroup. If this is unset, then generating a ResourceClaim was not necessary. The podgroup.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 V1alpha2PodGroupResourceClaimStatus
    • fromJson

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

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