Class NodeAllocatableResource
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.resource.v1beta1.NodeAllocatableResource
-
- All Implemented Interfaces:
Editable<NodeAllocatableResourceBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class NodeAllocatableResource extends Object implements Editable<NodeAllocatableResourceBuilder>, KubernetesResource
NodeAllocatableResource defines the translation between the DRA device/capacity units requested to the corresponding quantity of the node allocatable resource. At least one of Mapping or Overhead must be specified. Not specifying either is an invalid configuration.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NodeAllocatableResource()No args constructor for use in serializationNodeAllocatableResource(NodeAllocatableMapping mapping, NodeAllocatableOverhead overhead)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeAllocatableResourceBuilderedit()Map<String,Object>getAdditionalProperties()NodeAllocatableMappinggetMapping()NodeAllocatableResource defines the translation between the DRA device/capacity units requested to the corresponding quantity of the node allocatable resource.NodeAllocatableOverheadgetOverhead()NodeAllocatableResource defines the translation between the DRA device/capacity units requested to the corresponding quantity of the node allocatable resource.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetMapping(NodeAllocatableMapping mapping)NodeAllocatableResource defines the translation between the DRA device/capacity units requested to the corresponding quantity of the node allocatable resource.voidsetOverhead(NodeAllocatableOverhead overhead)NodeAllocatableResource defines the translation between the DRA device/capacity units requested to the corresponding quantity of the node allocatable resource.NodeAllocatableResourceBuildertoBuilder()
-
-
-
Constructor Detail
-
NodeAllocatableResource
public NodeAllocatableResource()
No args constructor for use in serialization
-
NodeAllocatableResource
public NodeAllocatableResource(NodeAllocatableMapping mapping, NodeAllocatableOverhead overhead)
-
-
Method Detail
-
getMapping
public NodeAllocatableMapping getMapping()
NodeAllocatableResource defines the translation between the DRA device/capacity units requested to the corresponding quantity of the node allocatable resource. At least one of Mapping or Overhead must be specified. Not specifying either is an invalid configuration.
-
setMapping
public void setMapping(NodeAllocatableMapping mapping)
NodeAllocatableResource defines the translation between the DRA device/capacity units requested to the corresponding quantity of the node allocatable resource. At least one of Mapping or Overhead must be specified. Not specifying either is an invalid configuration.
-
getOverhead
public NodeAllocatableOverhead getOverhead()
NodeAllocatableResource defines the translation between the DRA device/capacity units requested to the corresponding quantity of the node allocatable resource. At least one of Mapping or Overhead must be specified. Not specifying either is an invalid configuration.
-
setOverhead
public void setOverhead(NodeAllocatableOverhead overhead)
NodeAllocatableResource defines the translation between the DRA device/capacity units requested to the corresponding quantity of the node allocatable resource. At least one of Mapping or Overhead must be specified. Not specifying either is an invalid configuration.
-
edit
public NodeAllocatableResourceBuilder edit()
- Specified by:
editin interfaceEditable<NodeAllocatableResourceBuilder>
-
toBuilder
public NodeAllocatableResourceBuilder toBuilder()
-
-