Class V1beta2AllocatedDeviceStatus

java.lang.Object
io.kubernetes.client.openapi.models.V1beta2AllocatedDeviceStatus

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-05-22T21:20:49.874193Z[Etc/UTC]") 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 Details

  • Constructor Details

    • V1beta2AllocatedDeviceStatus

      public V1beta2AllocatedDeviceStatus()
  • Method Details

    • conditions

      public V1beta2AllocatedDeviceStatus conditions(List<V1Condition> conditions)
    • addConditionsItem

      public V1beta2AllocatedDeviceStatus addConditionsItem(V1Condition conditionsItem)
    • getConditions

      @Nullable public List<V1Condition> 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:
      conditions
    • setConditions

      public void setConditions(List<V1Condition> conditions)
    • data

    • getData

      @Nullable public Object getData()
      Data contains arbitrary driver-specific data. The length of the raw data must be smaller or equal to 10 Ki.
      Returns:
      data
    • setData

      public void setData(Object data)
    • device

      public V1beta2AllocatedDeviceStatus device(String device)
    • getDevice

      public String getDevice()
      Device references one device instance via its name in the driver's resource pool. It must be a DNS label.
      Returns:
      device
    • setDevice

      public void setDevice(String device)
    • driver

      public V1beta2AllocatedDeviceStatus driver(String driver)
    • getDriver

      public String 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

      public void setDriver(String driver)
    • networkData

      public V1beta2AllocatedDeviceStatus networkData(V1beta2NetworkDeviceData networkData)
    • getNetworkData

      @Nullable public V1beta2NetworkDeviceData getNetworkData()
      Get networkData
      Returns:
      networkData
    • setNetworkData

      public void setNetworkData(V1beta2NetworkDeviceData networkData)
    • pool

    • getPool

      public String 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

      public void setPool(String pool)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object