Class V1beta1AllocatedDeviceStatus
java.lang.Object
io.kubernetes.client.openapi.models.V1beta1AllocatedDeviceStatus
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-12T21:15:49.397498Z[Etc/UTC]",
comments="Generator version: 7.6.0")
public class V1beta1AllocatedDeviceStatus
extends Object
AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddConditionsItem
(V1Condition conditionsItem) conditions
(List<V1Condition> conditions) boolean
static V1beta1AllocatedDeviceStatus
Create an instance of V1beta1AllocatedDeviceStatus given an JSON stringConditions 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.Get networkDatagetPool()
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
(V1beta1NetworkDeviceData networkData) void
setConditions
(List<V1Condition> conditions) void
void
void
void
setNetworkData
(V1beta1NetworkDeviceData networkData) void
toJson()
Convert an instance of V1beta1AllocatedDeviceStatus to an JSON stringtoString()
static void
validateJsonElement
(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_CONDITIONS
- See Also:
-
SERIALIZED_NAME_DATA
- See Also:
-
SERIALIZED_NAME_DEVICE
- See Also:
-
SERIALIZED_NAME_DRIVER
- See Also:
-
SERIALIZED_NAME_NETWORK_DATA
- See Also:
-
SERIALIZED_NAME_POOL
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1beta1AllocatedDeviceStatus
public V1beta1AllocatedDeviceStatus()
-
-
Method Details
-
conditions
-
addConditionsItem
-
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.- Returns:
- conditions
-
setConditions
-
data
-
getData
Data contains arbitrary driver-specific data. The length of the raw data must be smaller or equal to 10 Ki.- Returns:
- data
-
setData
-
device
-
getDevice
Device references one device instance via its name in the driver's resource pool. It must be a DNS label.- Returns:
- device
-
setDevice
-
driver
-
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:
- driver
-
setDriver
-
networkData
-
getNetworkData
Get networkData- Returns:
- networkData
-
setNetworkData
-
pool
-
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:
- pool
-
setPool
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement
- JSON Element- Throws:
IOException
- if the JSON Element is invalid with respect to V1beta1AllocatedDeviceStatus
-
fromJson
Create an instance of V1beta1AllocatedDeviceStatus given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1beta1AllocatedDeviceStatus
- Throws:
IOException
- if the JSON string is invalid with respect to V1beta1AllocatedDeviceStatus
-
toJson
Convert an instance of V1beta1AllocatedDeviceStatus to an JSON string- Returns:
- JSON string
-