Package org.cdk8s.plus28.k8s
Class ResourceClaimParametersReferenceV1Alpha2.Builder
- java.lang.Object
-
- org.cdk8s.plus28.k8s.ResourceClaimParametersReferenceV1Alpha2.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ResourceClaimParametersReferenceV1Alpha2>
- Enclosing interface:
- ResourceClaimParametersReferenceV1Alpha2
@Stability(Stable) public static final class ResourceClaimParametersReferenceV1Alpha2.Builder extends Object implements software.amazon.jsii.Builder<ResourceClaimParametersReferenceV1Alpha2>
A builder forResourceClaimParametersReferenceV1Alpha2
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceClaimParametersReferenceV1Alpha2.BuilderapiGroup(String apiGroup)Sets the value ofResourceClaimParametersReferenceV1Alpha2.getApiGroup()ResourceClaimParametersReferenceV1Alpha2build()Builds the configured instance.ResourceClaimParametersReferenceV1Alpha2.Builderkind(String kind)Sets the value ofResourceClaimParametersReferenceV1Alpha2.getKind()ResourceClaimParametersReferenceV1Alpha2.Buildername(String name)Sets the value ofResourceClaimParametersReferenceV1Alpha2.getName()
-
-
-
Method Detail
-
kind
@Stability(Stable) public ResourceClaimParametersReferenceV1Alpha2.Builder kind(String kind)
Sets the value ofResourceClaimParametersReferenceV1Alpha2.getKind()- Parameters:
kind- Kind is the type of resource being referenced. This parameter is required. This is the same value as in the parameter object's metadata, for example "ConfigMap".- Returns:
this
-
name
@Stability(Stable) public ResourceClaimParametersReferenceV1Alpha2.Builder name(String name)
Sets the value ofResourceClaimParametersReferenceV1Alpha2.getName()- Parameters:
name- Name is the name of resource being referenced. This parameter is required.- Returns:
this
-
apiGroup
@Stability(Stable) public ResourceClaimParametersReferenceV1Alpha2.Builder apiGroup(String apiGroup)
Sets the value ofResourceClaimParametersReferenceV1Alpha2.getApiGroup()- Parameters:
apiGroup- APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.- Returns:
this
-
build
@Stability(Stable) public ResourceClaimParametersReferenceV1Alpha2 build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ResourceClaimParametersReferenceV1Alpha2>- Returns:
- a new instance of
ResourceClaimParametersReferenceV1Alpha2 - Throws:
NullPointerException- if any required attribute was not provided
-
-