Class V1beta2AllocatedDeviceStatus
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1beta2AllocatedDeviceStatus
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1beta2AllocatedDeviceStatus
extends Object
AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddConditionsItem
(V1Condition conditionsItem) Add an item to the conditions property in a chainable fashion.conditions
(List<@Valid V1Condition> conditions) Set conditions in a chainable fashion.Set data in a chainable fashion.Set device in a chainable fashion.Set driver in a chainable fashion.boolean
List<@Valid V1Condition>
Conditions contains the latest observation of the device's state.getData()
Data contains arbitrary driver-specific data.Device references one device instance via its name in the driver's resource pool.Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.getPool()
This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`).int
hashCode()
networkData
(V1beta2NetworkDeviceData networkData) Set networkData in a chainable fashion.Set pool in a chainable fashion.void
setConditions
(List<@Valid V1Condition> conditions) Set the conditions property valuevoid
Set the data property valuevoid
Set the device property valuevoid
Set the driver property valuevoid
setNetworkData
(V1beta2NetworkDeviceData networkData) Set the networkData property valuevoid
Set the pool property valuetoString()
-
Field Details
-
JSON_PROPERTY_DEVICE
- See Also:
-
JSON_PROPERTY_DRIVER
- See Also:
-
JSON_PROPERTY_POOL
- See Also:
-
JSON_PROPERTY_CONDITIONS
- See Also:
-
JSON_PROPERTY_DATA
- See Also:
-
JSON_PROPERTY_NETWORK_DATA
- See Also:
-
-
Constructor Details
-
V1beta2AllocatedDeviceStatus
-
-
Method Details
-
getDevice
Device references one device instance via its name in the driver's resource pool. It must be a DNS label.- Returns:
- the device property value
-
setDevice
Set the device property value- Parameters:
device
- property value to set
-
device
Set device in a chainable fashion.- Returns:
- The same instance of V1beta2AllocatedDeviceStatus for chaining.
-
getDriver
Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.- 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 V1beta2AllocatedDeviceStatus for chaining.
-
getPool
This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`). Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.- Returns:
- the pool property value
-
setPool
Set the pool property value- Parameters:
pool
- property value to set
-
pool
Set pool in a chainable fashion.- Returns:
- The same instance of V1beta2AllocatedDeviceStatus for chaining.
-
getConditions
Conditions contains the latest observation of the device's state. If the device has been configured according to the class and claim config references, the `Ready` condition should be True. Must not contain more than 8 entries.- Returns:
- the conditions property value
-
setConditions
Set the conditions property value- Parameters:
conditions
- property value to set
-
conditions
Set conditions in a chainable fashion.- Returns:
- The same instance of V1beta2AllocatedDeviceStatus for chaining.
-
addConditionsItem
Add an item to the conditions property in a chainable fashion.- Returns:
- The same instance of V1beta2AllocatedDeviceStatus for chaining.
-
getData
Data contains arbitrary driver-specific data. The length of the raw data must be smaller or equal to 10 Ki.- Returns:
- the data property value
-
setData
Set the data property value- Parameters:
data
- property value to set
-
data
Set data in a chainable fashion.- Returns:
- The same instance of V1beta2AllocatedDeviceStatus for chaining.
-
getNetworkData
- Returns:
- the networkData property value
-
setNetworkData
Set the networkData property value- Parameters:
networkData
- property value to set
-
networkData
Set networkData in a chainable fashion.- Returns:
- The same instance of V1beta2AllocatedDeviceStatus for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-