Class V1NodeAllocatableResourceClaimStatus
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1NodeAllocatableResourceClaimStatus
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1NodeAllocatableResourceClaimStatus
extends Object
NodeAllocatableResourceClaimStatus describes the status of node allocatable resources allocated via DRA.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionV1NodeAllocatableResourceClaimStatus(String resourceClaimName, Map<String, @NotNull String> resources) -
Method Summary
Modifier and TypeMethodDescriptionaddContainersItem(String containersItem) Add an item to the containers property in a chainable fashion.containers(List<@NotNull String> containers) Set containers in a chainable fashion.booleanContainers 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, String resourcesItem) Set the value for the key for the resources map property in a chainable fashion.resourceClaimName(String resourceClaimName) Set resourceClaimName in a chainable fashion.Set resources in a chainable fashion.voidsetContainers(List<@NotNull String> containers) Set the containers property valuevoidsetResourceClaimName(String resourceClaimName) Set the resourceClaimName property valuevoidsetResources(Map<String, @NotNull String> resources) Set the resources property valuetoString()
-
Field Details
-
JSON_PROPERTY_RESOURCE_CLAIM_NAME
- See Also:
-
JSON_PROPERTY_RESOURCES
- See Also:
-
JSON_PROPERTY_CONTAINERS
- See Also:
-
-
Constructor Details
-
V1NodeAllocatableResourceClaimStatus
-
-
Method Details
-
getResourceClaimName
ResourceClaimName is the resource claim referenced by the pod that resulted in this node allocatable resource allocation.- Returns:
- the resourceClaimName property value
-
setResourceClaimName
Set the resourceClaimName property value- Parameters:
resourceClaimName- property value to set
-
resourceClaimName
Set resourceClaimName in a chainable fashion.- Returns:
- The same instance of V1NodeAllocatableResourceClaimStatus for chaining.
-
getResources
-
setResources
-
resources
Set resources in a chainable fashion.- Returns:
- The same instance of V1NodeAllocatableResourceClaimStatus for chaining.
-
putResourcesItem
Set the value for the key for the resources map property in a chainable fashion.- Returns:
- The same instance of V1NodeAllocatableResourceClaimStatus for chaining.
-
getContainers
-
setContainers
-
containers
Set containers in a chainable fashion.- Returns:
- The same instance of V1NodeAllocatableResourceClaimStatus for chaining.
-
addContainersItem
Add an item to the containers property in a chainable fashion.- Returns:
- The same instance of V1NodeAllocatableResourceClaimStatus for chaining.
-
equals
-
hashCode
-
toString
-