Class PartitionTypeStatus
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.resource.v1alpha3.PartitionTypeStatus
-
- All Implemented Interfaces:
Editable<PartitionTypeStatusBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class PartitionTypeStatus extends Object implements Editable<PartitionTypeStatusBuilder>, KubernetesResource
PartitionTypeStatus reports allocatability for a single partition type, identified by the value of a grouping attribute.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PartitionTypeStatus()No args constructor for use in serializationPartitionTypeStatus(Integer allocatable, String attribute, Integer total, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PartitionTypeStatusBuilderedit()Map<String,Object>getAdditionalProperties()IntegergetAllocatable()Allocatable is the number of additional devices of this partition type that could still be allocated given current shared-counter consumption.StringgetAttribute()Attribute is the fully qualified name of the device attribute whose value groups this entry.IntegergetTotal()Total is the number of devices of this partition type in the pool.StringgetType()Type is the partition type value (e.g.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAllocatable(Integer allocatable)Allocatable is the number of additional devices of this partition type that could still be allocated given current shared-counter consumption.voidsetAttribute(String attribute)Attribute is the fully qualified name of the device attribute whose value groups this entry.voidsetTotal(Integer total)Total is the number of devices of this partition type in the pool.voidsetType(String type)Type is the partition type value (e.g.PartitionTypeStatusBuildertoBuilder()
-
-
-
Method Detail
-
getAllocatable
public Integer getAllocatable()
Allocatable is the number of additional devices of this partition type that could still be allocated given current shared-counter consumption.
-
setAllocatable
public void setAllocatable(Integer allocatable)
Allocatable is the number of additional devices of this partition type that could still be allocated given current shared-counter consumption.
-
getAttribute
public String getAttribute()
Attribute is the fully qualified name of the device attribute whose value groups this entry. It is the PartitionTypeAttribute declared by the devices' own slice, or the default named in the request when their slice declares none.
-
setAttribute
public void setAttribute(String attribute)
Attribute is the fully qualified name of the device attribute whose value groups this entry. It is the PartitionTypeAttribute declared by the devices' own slice, or the default named in the request when their slice declares none.
-
getTotal
public Integer getTotal()
Total is the number of devices of this partition type in the pool.
-
setTotal
public void setTotal(Integer total)
Total is the number of devices of this partition type in the pool.
-
getType
public String getType()
Type is the partition type value (e.g. "Full" or "Half").
-
setType
public void setType(String type)
Type is the partition type value (e.g. "Full" or "Half").
-
edit
public PartitionTypeStatusBuilder edit()
- Specified by:
editin interfaceEditable<PartitionTypeStatusBuilder>
-
toBuilder
public PartitionTypeStatusBuilder toBuilder()
-
-