Class ShareableSummaryStatus
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.resource.v1alpha3.ShareableSummaryStatus
-
- All Implemented Interfaces:
Editable<ShareableSummaryStatusBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ShareableSummaryStatus extends Object implements Editable<ShareableSummaryStatusBuilder>, KubernetesResource
ShareableSummaryStatus reports aggregate capacity for a pool that contains devices with AllowMultipleAllocations.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ShareableSummaryStatus()No args constructor for use in serializationShareableSummaryStatus(List<ShareableCapacityStatus> capacity, Integer fullyAvailableDevices, Integer partiallyAvailableDevices)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShareableSummaryStatusBuilderedit()Map<String,Object>getAdditionalProperties()List<ShareableCapacityStatus>getCapacity()Capacity reports aggregate total, consumed, and available amounts per shareable capacity key across the pool.IntegergetFullyAvailableDevices()FullyAvailableDevices is the number of shareable devices with no capacity consumed.IntegergetPartiallyAvailableDevices()PartiallyAvailableDevices is the number of shareable devices with some but not all capacity consumed.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetCapacity(List<ShareableCapacityStatus> capacity)Capacity reports aggregate total, consumed, and available amounts per shareable capacity key across the pool.voidsetFullyAvailableDevices(Integer fullyAvailableDevices)FullyAvailableDevices is the number of shareable devices with no capacity consumed.voidsetPartiallyAvailableDevices(Integer partiallyAvailableDevices)PartiallyAvailableDevices is the number of shareable devices with some but not all capacity consumed.ShareableSummaryStatusBuildertoBuilder()
-
-
-
Constructor Detail
-
ShareableSummaryStatus
public ShareableSummaryStatus()
No args constructor for use in serialization
-
ShareableSummaryStatus
public ShareableSummaryStatus(List<ShareableCapacityStatus> capacity, Integer fullyAvailableDevices, Integer partiallyAvailableDevices)
-
-
Method Detail
-
getCapacity
public List<ShareableCapacityStatus> getCapacity()
Capacity reports aggregate total, consumed, and available amounts per shareable capacity key across the pool.
-
setCapacity
public void setCapacity(List<ShareableCapacityStatus> capacity)
Capacity reports aggregate total, consumed, and available amounts per shareable capacity key across the pool.
-
getFullyAvailableDevices
public Integer getFullyAvailableDevices()
FullyAvailableDevices is the number of shareable devices with no capacity consumed.
-
setFullyAvailableDevices
public void setFullyAvailableDevices(Integer fullyAvailableDevices)
FullyAvailableDevices is the number of shareable devices with no capacity consumed.
-
getPartiallyAvailableDevices
public Integer getPartiallyAvailableDevices()
PartiallyAvailableDevices is the number of shareable devices with some but not all capacity consumed.
-
setPartiallyAvailableDevices
public void setPartiallyAvailableDevices(Integer partiallyAvailableDevices)
PartiallyAvailableDevices is the number of shareable devices with some but not all capacity consumed.
-
edit
public ShareableSummaryStatusBuilder edit()
- Specified by:
editin interfaceEditable<ShareableSummaryStatusBuilder>
-
toBuilder
public ShareableSummaryStatusBuilder toBuilder()
-
-