Class V1alpha3AllocationResult
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1alpha3AllocationResult
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1alpha3AllocationResult
extends Object
AllocationResult contains attributes of an allocated resource.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontroller
(String controller) Set controller in a chainable fashion.devices
(V1alpha3DeviceAllocationResult devices) Set devices in a chainable fashion.boolean
Controller is the name of the DRA driver which handled the allocation.int
hashCode()
nodeSelector
(V1NodeSelector nodeSelector) Set nodeSelector in a chainable fashion.void
setController
(String controller) Set the controller property valuevoid
setDevices
(V1alpha3DeviceAllocationResult devices) Set the devices property valuevoid
setNodeSelector
(V1NodeSelector nodeSelector) Set the nodeSelector property valuetoString()
-
Field Details
-
JSON_PROPERTY_CONTROLLER
- See Also:
-
JSON_PROPERTY_DEVICES
- See Also:
-
JSON_PROPERTY_NODE_SELECTOR
- See Also:
-
-
Constructor Details
-
V1alpha3AllocationResult
public V1alpha3AllocationResult()
-
-
Method Details
-
getController
Controller is the name of the DRA driver which handled the allocation. That driver is also responsible for deallocating the claim. It is empty when the claim can be deallocated without involving a driver. A driver may allocate devices provided by other drivers, so this driver name here can be different from the driver names listed for the results. This is an alpha field and requires enabling the DRAControlPlaneController feature gate.- Returns:
- the controller property value
-
setController
Set the controller property value- Parameters:
controller
- property value to set
-
controller
Set controller in a chainable fashion.- Returns:
- The same instance of V1alpha3AllocationResult for chaining.
-
getDevices
- Returns:
- the devices property value
-
setDevices
Set the devices property value- Parameters:
devices
- property value to set
-
devices
Set devices in a chainable fashion.- Returns:
- The same instance of V1alpha3AllocationResult for chaining.
-
getNodeSelector
- Returns:
- the nodeSelector property value
-
setNodeSelector
Set the nodeSelector property value- Parameters:
nodeSelector
- property value to set
-
nodeSelector
Set nodeSelector in a chainable fashion.- Returns:
- The same instance of V1alpha3AllocationResult for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-