Package io.fabric8.kubernetes.api.model
Class NodeAllocatableMappedResources
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.NodeAllocatableMappedResources
-
- All Implemented Interfaces:
Editable<NodeAllocatableMappedResourcesBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class NodeAllocatableMappedResources extends Object implements Editable<NodeAllocatableMappedResourcesBuilder>, KubernetesResource
NodeAllocatableMappedResources describes mapped node allocatable resource allocations.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NodeAllocatableMappedResources()No args constructor for use in serializationNodeAllocatableMappedResources(String name, Quantity quantity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeAllocatableMappedResourcesBuilderedit()Map<String,Object>getAdditionalProperties()StringgetName()Name is the name of the resource (e.g., cpu, memory).QuantitygetQuantity()NodeAllocatableMappedResources describes mapped node allocatable resource allocations.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetName(String name)Name is the name of the resource (e.g., cpu, memory).voidsetQuantity(Quantity quantity)NodeAllocatableMappedResources describes mapped node allocatable resource allocations.NodeAllocatableMappedResourcesBuildertoBuilder()
-
-
-
Method Detail
-
getName
public String getName()
Name is the name of the resource (e.g., cpu, memory).
-
setName
public void setName(String name)
Name is the name of the resource (e.g., cpu, memory).
-
getQuantity
public Quantity getQuantity()
NodeAllocatableMappedResources describes mapped node allocatable resource allocations.
-
setQuantity
public void setQuantity(Quantity quantity)
NodeAllocatableMappedResources describes mapped node allocatable resource allocations.
-
edit
public NodeAllocatableMappedResourcesBuilder edit()
- Specified by:
editin interfaceEditable<NodeAllocatableMappedResourcesBuilder>
-
toBuilder
public NodeAllocatableMappedResourcesBuilder toBuilder()
-
-