Class V1alpha2ResourceClaimSpec
java.lang.Object
io.kubernetes.client.openapi.models.V1alpha2ResourceClaimSpec
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-18T15:05:57.863601Z[Etc/UTC]")
public class V1alpha2ResourceClaimSpec
extends Object
ResourceClaimSpec defines how a resource is to be allocated.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallocationMode
(String allocationMode) boolean
Allocation can start immediately or when a Pod wants to use the resource.Get parametersRefResourceClassName 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) resourceClassName
(String resourceClassName) void
setAllocationMode
(String allocationMode) void
setParametersRef
(V1alpha2ResourceClaimParametersReference parametersRef) void
setResourceClassName
(String resourceClassName) toString()
-
Field Details
-
SERIALIZED_NAME_ALLOCATION_MODE
- See Also:
-
SERIALIZED_NAME_PARAMETERS_REF
- See Also:
-
SERIALIZED_NAME_RESOURCE_CLASS_NAME
- See Also:
-
-
Constructor Details
-
V1alpha2ResourceClaimSpec
public V1alpha2ResourceClaimSpec()
-
-
Method Details
-
allocationMode
-
getAllocationMode
Allocation can start immediately or when a Pod wants to use the resource. \"WaitForFirstConsumer\" is the default.- Returns:
- allocationMode
-
setAllocationMode
-
parametersRef
public V1alpha2ResourceClaimSpec parametersRef(V1alpha2ResourceClaimParametersReference parametersRef) -
getParametersRef
Get parametersRef- Returns:
- parametersRef
-
setParametersRef
-
resourceClassName
-
getResourceClassName
ResourceClassName references the driver and additional parameters via the name of a ResourceClass that was created as part of the driver deployment.- Returns:
- resourceClassName
-
setResourceClassName
-
equals
-
hashCode
public int hashCode() -
toString
-