Package org.cdk8s.plus28.k8s
Interface ResourceClaimSpecV1Alpha2
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ResourceClaimSpecV1Alpha2.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-03T12:13:25.858Z") @Stability(Stable) public interface ResourceClaimSpecV1Alpha2 extends software.amazon.jsii.JsiiSerializable
ResourceClaimSpec defines how a resource is to be allocated.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classResourceClaimSpecV1Alpha2.BuilderA builder forResourceClaimSpecV1Alpha2static classResourceClaimSpecV1Alpha2.Jsii$ProxyAn implementation forResourceClaimSpecV1Alpha2
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static ResourceClaimSpecV1Alpha2.Builderbuilder()default StringgetAllocationMode()Allocation can start immediately or when a Pod wants to use the resource.default ResourceClaimParametersReferenceV1Alpha2getParametersRef()ParametersRef references a separate object with arbitrary parameters that will be used by the driver when allocating a resource for the claim.StringgetResourceClassName()ResourceClassName references the driver and additional parameters via the name of a ResourceClass that was created as part of the driver deployment.
-
-
-
Method Detail
-
getResourceClassName
@Stability(Stable) @NotNull String getResourceClassName()
ResourceClassName references the driver and additional parameters via the name of a ResourceClass that was created as part of the driver deployment.
-
getAllocationMode
@Stability(Stable) @Nullable default String getAllocationMode()
Allocation can start immediately or when a Pod wants to use the resource."WaitForFirstConsumer" is the default.
-
getParametersRef
@Stability(Stable) @Nullable default ResourceClaimParametersReferenceV1Alpha2 getParametersRef()
ParametersRef references a separate object with arbitrary parameters that will be used by the driver when allocating a resource for the claim.The object must be in the same namespace as the ResourceClaim.
-
builder
@Stability(Stable) static ResourceClaimSpecV1Alpha2.Builder builder()
- Returns:
- a
ResourceClaimSpecV1Alpha2.BuilderofResourceClaimSpecV1Alpha2
-
-