Package org.cdk8s.plus28.k8s
Class ResourceClaim.Builder
- java.lang.Object
-
- org.cdk8s.plus28.k8s.ResourceClaim.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ResourceClaim>
- Enclosing interface:
- ResourceClaim
@Stability(Stable) public static final class ResourceClaim.Builder extends Object implements software.amazon.jsii.Builder<ResourceClaim>
A builder forResourceClaim
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceClaimbuild()Builds the configured instance.ResourceClaim.Buildername(String name)Sets the value ofResourceClaim.getName()
-
-
-
Method Detail
-
name
@Stability(Stable) public ResourceClaim.Builder name(String name)
Sets the value ofResourceClaim.getName()- Parameters:
name- Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public ResourceClaim build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ResourceClaim>- Returns:
- a new instance of
ResourceClaim - Throws:
NullPointerException- if any required attribute was not provided
-
-