Class V1alpha2ResourceClaimSpec
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1alpha2ResourceClaimSpec
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1alpha2ResourceClaimSpec
extends Object
ResourceClaimSpec defines how a resource is to be allocated.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionallocationMode
(String allocationMode) Set allocationMode in a chainable fashion.boolean
Allocation can start immediately or when a Pod wants to use the resource.ResourceClassName references the driver and additional parameters via the name of a ResourceClass that was created as part of the driver deployment.int
hashCode()
parametersRef
(V1alpha2ResourceClaimParametersReference parametersRef) Set parametersRef in a chainable fashion.resourceClassName
(String resourceClassName) Set resourceClassName in a chainable fashion.void
setAllocationMode
(String allocationMode) Set the allocationMode property valuevoid
setParametersRef
(V1alpha2ResourceClaimParametersReference parametersRef) Set the parametersRef property valuevoid
setResourceClassName
(String resourceClassName) Set the resourceClassName property valuetoString()
-
Field Details
-
JSON_PROPERTY_ALLOCATION_MODE
- See Also:
-
JSON_PROPERTY_PARAMETERS_REF
- See Also:
-
JSON_PROPERTY_RESOURCE_CLASS_NAME
- See Also:
-
-
Constructor Details
-
V1alpha2ResourceClaimSpec
-
-
Method Details
-
getAllocationMode
Allocation can start immediately or when a Pod wants to use the resource. \"WaitForFirstConsumer\" is the default.- Returns:
- the allocationMode property value
-
setAllocationMode
Set the allocationMode property value -
allocationMode
Set allocationMode in a chainable fashion.- Returns:
- The same instance of V1alpha2ResourceClaimSpec for chaining.
-
getParametersRef
- Returns:
- the parametersRef property value
-
setParametersRef
Set the parametersRef property value -
parametersRef
public V1alpha2ResourceClaimSpec parametersRef(V1alpha2ResourceClaimParametersReference parametersRef) Set parametersRef in a chainable fashion.- Returns:
- The same instance of V1alpha2ResourceClaimSpec for chaining.
-
getResourceClassName
ResourceClassName references the driver and additional parameters via the name of a ResourceClass that was created as part of the driver deployment.- Returns:
- the resourceClassName property value
-
setResourceClassName
Set the resourceClassName property value -
resourceClassName
Set resourceClassName in a chainable fashion.- Returns:
- The same instance of V1alpha2ResourceClaimSpec for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-