Class V1NodeAllocatableResourceClaimStatus
java.lang.Object
io.kubernetes.client.openapi.models.V1NodeAllocatableResourceClaimStatus
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-06-26T22:35:15.319369Z[Etc/UTC]",
comments="Generator version: 7.18.0")
public class V1NodeAllocatableResourceClaimStatus
extends Object
NodeAllocatableResourceClaimStatus describes the status of node allocatable resources allocated via DRA.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddContainersItem(String containersItem) containers(List<String> containers) booleanCreate an instance of V1NodeAllocatableResourceClaimStatus given an JSON stringContainers lists the names of all containers in this pod that reference the claim.ResourceClaimName is the resource claim referenced by the pod that resulted in this node allocatable resource allocation.Resources is a map of the node-allocatable resource name to the aggregate quantity allocated to the claim.inthashCode()putResourcesItem(String key, Quantity resourcesItem) resourceClaimName(String resourceClaimName) voidsetContainers(List<String> containers) voidsetResourceClaimName(String resourceClaimName) voidsetResources(Map<String, Quantity> resources) toJson()Convert an instance of V1NodeAllocatableResourceClaimStatus 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_CONTAINERS
- See Also:
-
SERIALIZED_NAME_RESOURCE_CLAIM_NAME
- See Also:
-
SERIALIZED_NAME_RESOURCES
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1NodeAllocatableResourceClaimStatus
public V1NodeAllocatableResourceClaimStatus()
-
-
Method Details
-
containers
-
addContainersItem
-
getContainers
Containers lists the names of all containers in this pod that reference the claim.- Returns:
- containers
-
setContainers
-
resourceClaimName
-
getResourceClaimName
ResourceClaimName is the resource claim referenced by the pod that resulted in this node allocatable resource allocation.- Returns:
- resourceClaimName
-
setResourceClaimName
-
resources
-
putResourcesItem
-
getResources
Resources is a map of the node-allocatable resource name to the aggregate quantity allocated to the claim.- Returns:
- resources
-
setResources
-
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 V1NodeAllocatableResourceClaimStatus
-
fromJson
Create an instance of V1NodeAllocatableResourceClaimStatus given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V1NodeAllocatableResourceClaimStatus
- Throws:
IOException- if the JSON string is invalid with respect to V1NodeAllocatableResourceClaimStatus
-
toJson
Convert an instance of V1NodeAllocatableResourceClaimStatus to an JSON string- Returns:
- JSON string
-