Class V1alpha3DeviceRequestAllocationResult
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1alpha3DeviceRequestAllocationResult
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1alpha3DeviceRequestAllocationResult
extends Object
DeviceRequestAllocationResult contains the allocation result for one request.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionV1alpha3DeviceRequestAllocationResult
(String device, String driver, String pool, String request) -
Method Summary
Modifier and TypeMethodDescriptionSet device in a chainable fashion.Set driver in a chainable fashion.boolean
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>`).Request is the name of the request in the claim which caused this device to be allocated.int
hashCode()
Set pool in a chainable fashion.Set request in a chainable fashion.void
Set the device property valuevoid
Set the driver property valuevoid
Set the pool property valuevoid
setRequest
(String request) Set the request property valuetoString()
-
Field Details
-
JSON_PROPERTY_DEVICE
- See Also:
-
JSON_PROPERTY_DRIVER
- See Also:
-
JSON_PROPERTY_POOL
- See Also:
-
JSON_PROPERTY_REQUEST
- See Also:
-
-
Constructor Details
-
V1alpha3DeviceRequestAllocationResult
-
-
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 V1alpha3DeviceRequestAllocationResult 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 V1alpha3DeviceRequestAllocationResult 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 V1alpha3DeviceRequestAllocationResult for chaining.
-
getRequest
Request is the name of the request in the claim which caused this device to be allocated. Multiple devices may have been allocated per request.- Returns:
- the request property value
-
setRequest
Set the request property value- Parameters:
request
- property value to set
-
request
Set request in a chainable fashion.- Returns:
- The same instance of V1alpha3DeviceRequestAllocationResult for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-