Class V1alpha3ResourceClaimSpec
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1alpha3ResourceClaimSpec
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1alpha3ResourceClaimSpec
extends Object
ResourceClaimSpec defines what is being requested in a ResourceClaim and how to configure it.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontroller(String controller) Set controller in a chainable fashion.devices(V1alpha3DeviceClaim devices) Set devices in a chainable fashion.booleanController is the name of the DRA driver that is meant to handle allocation of this claim.inthashCode()voidsetController(String controller) Set the controller property valuevoidsetDevices(V1alpha3DeviceClaim devices) Set the devices property valuetoString()
-
Field Details
-
JSON_PROPERTY_CONTROLLER
- See Also:
-
JSON_PROPERTY_DEVICES
- See Also:
-
-
Constructor Details
-
V1alpha3ResourceClaimSpec
public V1alpha3ResourceClaimSpec()
-
-
Method Details
-
getController
Controller is the name of the DRA driver that is meant to handle allocation of this claim. If empty, allocation is handled by the scheduler while scheduling a pod. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. 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 V1alpha3ResourceClaimSpec 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 V1alpha3ResourceClaimSpec for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-