Package org.cdk8s.plus28.k8s
Interface ClaimSource
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ClaimSource.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-03T12:13:25.657Z") @Stability(Stable) public interface ClaimSource extends software.amazon.jsii.JsiiSerializable
ClaimSource describes a reference to a ResourceClaim.Exactly one of these fields should be set. Consumers of this type must treat an empty object as if it has an unknown value.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classClaimSource.BuilderA builder forClaimSourcestatic classClaimSource.Jsii$ProxyAn implementation forClaimSource
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ClaimSource.Builderbuilder()default StringgetResourceClaimName()ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.default StringgetResourceClaimTemplateName()ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.
-
-
-
Method Detail
-
getResourceClaimName
@Stability(Stable) @Nullable default String getResourceClaimName()
ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.
-
getResourceClaimTemplateName
@Stability(Stable) @Nullable default String getResourceClaimTemplateName()
ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The pod name and resource name, along with a generated component, will be used to form a unique name for the ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses.
This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.
-
builder
@Stability(Stable) static ClaimSource.Builder builder()
- Returns:
- a
ClaimSource.BuilderofClaimSource
-
-