Class V1PodExtendedResourceClaimStatus
java.lang.Object
io.kubernetes.client.openapi.models.V1PodExtendedResourceClaimStatus
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-09-11T18:00:16.154662Z[Etc/UTC]",
comments="Generator version: 7.13.0")
public class V1PodExtendedResourceClaimStatus
extends Object
PodExtendedResourceClaimStatus is stored in the PodStatus for the extended resource requests backed by DRA. It stores the generated name for the corresponding special ResourceClaim created by the scheduler.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddRequestMappingsItem(V1ContainerExtendedResourceRequest requestMappingsItem) booleanCreate an instance of V1PodExtendedResourceClaimStatus given an JSON stringRequestMappings identifies the mapping of <container, extended resource backed by DRA> to device request in the generated ResourceClaim.ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod.inthashCode()requestMappings(List<V1ContainerExtendedResourceRequest> requestMappings) resourceClaimName(String resourceClaimName) voidsetRequestMappings(List<V1ContainerExtendedResourceRequest> requestMappings) voidsetResourceClaimName(String resourceClaimName) toJson()Convert an instance of V1PodExtendedResourceClaimStatus to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_REQUEST_MAPPINGS
- See Also:
-
SERIALIZED_NAME_RESOURCE_CLAIM_NAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1PodExtendedResourceClaimStatus
public V1PodExtendedResourceClaimStatus()
-
-
Method Details
-
requestMappings
public V1PodExtendedResourceClaimStatus requestMappings(@Nonnull List<V1ContainerExtendedResourceRequest> requestMappings) -
addRequestMappingsItem
public V1PodExtendedResourceClaimStatus addRequestMappingsItem(V1ContainerExtendedResourceRequest requestMappingsItem) -
getRequestMappings
RequestMappings identifies the mapping of <container, extended resource backed by DRA> to device request in the generated ResourceClaim.- Returns:
- requestMappings
-
setRequestMappings
-
resourceClaimName
-
getResourceClaimName
ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod.- Returns:
- resourceClaimName
-
setResourceClaimName
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
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 V1PodExtendedResourceClaimStatus
-
fromJson
Create an instance of V1PodExtendedResourceClaimStatus given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V1PodExtendedResourceClaimStatus
- Throws:
IOException- if the JSON string is invalid with respect to V1PodExtendedResourceClaimStatus
-
toJson
Convert an instance of V1PodExtendedResourceClaimStatus to an JSON string- Returns:
- JSON string
-