Package io.fabric8.kubernetes.api.model
Class NodeAllocatableResourceClaimStatus
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.NodeAllocatableResourceClaimStatus
-
- All Implemented Interfaces:
Editable<NodeAllocatableResourceClaimStatusBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class NodeAllocatableResourceClaimStatus extends Object implements Editable<NodeAllocatableResourceClaimStatusBuilder>, KubernetesResource
NodeAllocatableResourceClaimStatus describes the status of node allocatable resources allocated via DRA.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NodeAllocatableResourceClaimStatus()No args constructor for use in serializationNodeAllocatableResourceClaimStatus(List<String> containers, String resourceClaimName, Map<String,Quantity> resources)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeAllocatableResourceClaimStatusBuilderedit()Map<String,Object>getAdditionalProperties()List<String>getContainers()Containers lists the names of all containers in this pod that reference the claim.StringgetResourceClaimName()ResourceClaimName is the resource claim referenced by the pod that resulted in this node allocatable resource allocation.Map<String,Quantity>getResources()Resources is a map of the node-allocatable resource name to the aggregate quantity allocated to the claim.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetContainers(List<String> containers)Containers lists the names of all containers in this pod that reference the claim.voidsetResourceClaimName(String resourceClaimName)ResourceClaimName is the resource claim referenced by the pod that resulted in this node allocatable resource allocation.voidsetResources(Map<String,Quantity> resources)Resources is a map of the node-allocatable resource name to the aggregate quantity allocated to the claim.NodeAllocatableResourceClaimStatusBuildertoBuilder()
-
-
-
Method Detail
-
getContainers
public List<String> getContainers()
Containers lists the names of all containers in this pod that reference the claim.
-
setContainers
public void setContainers(List<String> containers)
Containers lists the names of all containers in this pod that reference the claim.
-
getResourceClaimName
public String getResourceClaimName()
ResourceClaimName is the resource claim referenced by the pod that resulted in this node allocatable resource allocation.
-
setResourceClaimName
public void setResourceClaimName(String resourceClaimName)
ResourceClaimName is the resource claim referenced by the pod that resulted in this node allocatable resource allocation.
-
getResources
public Map<String,Quantity> getResources()
Resources is a map of the node-allocatable resource name to the aggregate quantity allocated to the claim.
-
setResources
public void setResources(Map<String,Quantity> resources)
Resources is a map of the node-allocatable resource name to the aggregate quantity allocated to the claim.
-
edit
public NodeAllocatableResourceClaimStatusBuilder edit()
- Specified by:
editin interfaceEditable<NodeAllocatableResourceClaimStatusBuilder>
-
toBuilder
public NodeAllocatableResourceClaimStatusBuilder toBuilder()
-
-