Class V1alpha3PoolStatus
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1alpha3PoolStatus
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1alpha3PoolStatus
extends Object
PoolStatus contains status information for a single resource pool.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallocatedDevices(Integer allocatedDevices) Set allocatedDevices in a chainable fashion.availableDevices(Integer availableDevices) Set availableDevices in a chainable fashion.Set driver in a chainable fashion.booleangeneration(Long generation) Set generation in a chainable fashion.AllocatedDevices is the number of devices currently allocated to claims.AvailableDevices is the number of devices available for allocation.Driver is the DRA driver name for this pool.Generation is the pool generation observed across all ResourceSlices in this pool.NodeName is the node this pool is associated with.PoolName is the name of the pool.ResourceSliceCount is the number of ResourceSlices that make up this pool.TotalDevices is the total number of devices in the pool across all slices.UnavailableDevices is the number of devices that are not available due to taints or other conditions, but are not allocated.ValidationError is set when the pool's data could not be fully validated (e.g., incomplete slice publication).inthashCode()Set nodeName in a chainable fashion.Set poolName in a chainable fashion.resourceSliceCount(Integer resourceSliceCount) Set resourceSliceCount in a chainable fashion.voidsetAllocatedDevices(Integer allocatedDevices) Set the allocatedDevices property valuevoidsetAvailableDevices(Integer availableDevices) Set the availableDevices property valuevoidSet the driver property valuevoidsetGeneration(Long generation) Set the generation property valuevoidsetNodeName(String nodeName) Set the nodeName property valuevoidsetPoolName(String poolName) Set the poolName property valuevoidsetResourceSliceCount(Integer resourceSliceCount) Set the resourceSliceCount property valuevoidsetTotalDevices(Integer totalDevices) Set the totalDevices property valuevoidsetUnavailableDevices(Integer unavailableDevices) Set the unavailableDevices property valuevoidsetValidationError(String validationError) Set the validationError property valuetoString()totalDevices(Integer totalDevices) Set totalDevices in a chainable fashion.unavailableDevices(Integer unavailableDevices) Set unavailableDevices in a chainable fashion.validationError(String validationError) Set validationError in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_DRIVER
- See Also:
-
JSON_PROPERTY_GENERATION
- See Also:
-
JSON_PROPERTY_POOL_NAME
- See Also:
-
JSON_PROPERTY_ALLOCATED_DEVICES
- See Also:
-
JSON_PROPERTY_AVAILABLE_DEVICES
- See Also:
-
JSON_PROPERTY_NODE_NAME
- See Also:
-
JSON_PROPERTY_RESOURCE_SLICE_COUNT
- See Also:
-
JSON_PROPERTY_TOTAL_DEVICES
- See Also:
-
JSON_PROPERTY_UNAVAILABLE_DEVICES
- See Also:
-
JSON_PROPERTY_VALIDATION_ERROR
- See Also:
-
-
Constructor Details
-
V1alpha3PoolStatus
-
-
Method Details
-
getDriver
Driver is the DRA driver name for this pool. Must be a DNS subdomain (e.g., \"gpu.example.com\").- Returns:
- the driver property value
-
setDriver
Set the driver property value- Parameters:
driver- property value to set
-
driver
Set driver in a chainable fashion.- Returns:
- The same instance of V1alpha3PoolStatus for chaining.
-
getGeneration
Generation is the pool generation observed across all ResourceSlices in this pool. Only the latest generation is reported. During a generation rollout, if not all slices at the latest generation have been published, the pool is included with a validationError and device counts unset.- Returns:
- the generation property value
-
setGeneration
Set the generation property value- Parameters:
generation- property value to set
-
generation
Set generation in a chainable fashion.- Returns:
- The same instance of V1alpha3PoolStatus for chaining.
-
getPoolName
PoolName is the name of the pool. Must be a valid resource pool name (DNS subdomains separated by \"/\").- Returns:
- the poolName property value
-
setPoolName
Set the poolName property value- Parameters:
poolName- property value to set
-
poolName
Set poolName in a chainable fashion.- Returns:
- The same instance of V1alpha3PoolStatus for chaining.
-
getAllocatedDevices
AllocatedDevices is the number of devices currently allocated to claims. A value of 0 means no devices are allocated. May be unset when validationError is set.- Returns:
- the allocatedDevices property value
-
setAllocatedDevices
Set the allocatedDevices property value- Parameters:
allocatedDevices- property value to set
-
allocatedDevices
Set allocatedDevices in a chainable fashion.- Returns:
- The same instance of V1alpha3PoolStatus for chaining.
-
getAvailableDevices
AvailableDevices is the number of devices available for allocation. This equals TotalDevices - AllocatedDevices - UnavailableDevices. A value of 0 means no devices are currently available. May be unset when validationError is set.- Returns:
- the availableDevices property value
-
setAvailableDevices
Set the availableDevices property value- Parameters:
availableDevices- property value to set
-
availableDevices
Set availableDevices in a chainable fashion.- Returns:
- The same instance of V1alpha3PoolStatus for chaining.
-
getNodeName
NodeName is the node this pool is associated with. When omitted, the pool is not associated with a specific node. Must be a valid DNS subdomain name (RFC1123).- Returns:
- the nodeName property value
-
setNodeName
Set the nodeName property value- Parameters:
nodeName- property value to set
-
nodeName
Set nodeName in a chainable fashion.- Returns:
- The same instance of V1alpha3PoolStatus for chaining.
-
getResourceSliceCount
ResourceSliceCount is the number of ResourceSlices that make up this pool. May be unset when validationError is set.- Returns:
- the resourceSliceCount property value
-
setResourceSliceCount
Set the resourceSliceCount property value- Parameters:
resourceSliceCount- property value to set
-
resourceSliceCount
Set resourceSliceCount in a chainable fashion.- Returns:
- The same instance of V1alpha3PoolStatus for chaining.
-
getTotalDevices
TotalDevices is the total number of devices in the pool across all slices. A value of 0 means the pool has no devices. May be unset when validationError is set.- Returns:
- the totalDevices property value
-
setTotalDevices
Set the totalDevices property value- Parameters:
totalDevices- property value to set
-
totalDevices
Set totalDevices in a chainable fashion.- Returns:
- The same instance of V1alpha3PoolStatus for chaining.
-
getValidationError
ValidationError is set when the pool's data could not be fully validated (e.g., incomplete slice publication). When set, device count fields and ResourceSliceCount may be unset.- Returns:
- the validationError property value
-
setValidationError
Set the validationError property value- Parameters:
validationError- property value to set
-
validationError
Set validationError in a chainable fashion.- Returns:
- The same instance of V1alpha3PoolStatus for chaining.
-
equals
-
hashCode
-
toString
-