Package org.cdk8s.plus28.k8s
Class ParentReferenceV1Alpha1.Builder
- java.lang.Object
-
- org.cdk8s.plus28.k8s.ParentReferenceV1Alpha1.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ParentReferenceV1Alpha1>
- Enclosing interface:
- ParentReferenceV1Alpha1
@Stability(Stable) public static final class ParentReferenceV1Alpha1.Builder extends Object implements software.amazon.jsii.Builder<ParentReferenceV1Alpha1>
A builder forParentReferenceV1Alpha1
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ParentReferenceV1Alpha1build()Builds the configured instance.ParentReferenceV1Alpha1.Buildergroup(String group)Sets the value ofParentReferenceV1Alpha1.getGroup()ParentReferenceV1Alpha1.Buildername(String name)Sets the value ofParentReferenceV1Alpha1.getName()ParentReferenceV1Alpha1.Buildernamespace(String namespace)Sets the value ofParentReferenceV1Alpha1.getNamespace()ParentReferenceV1Alpha1.Builderresource(String resource)Sets the value ofParentReferenceV1Alpha1.getResource()ParentReferenceV1Alpha1.Builderuid(String uid)Sets the value ofParentReferenceV1Alpha1.getUid()
-
-
-
Method Detail
-
group
@Stability(Stable) public ParentReferenceV1Alpha1.Builder group(String group)
Sets the value ofParentReferenceV1Alpha1.getGroup()- Parameters:
group- Group is the group of the object being referenced.- Returns:
this
-
name
@Stability(Stable) public ParentReferenceV1Alpha1.Builder name(String name)
Sets the value ofParentReferenceV1Alpha1.getName()- Parameters:
name- Name is the name of the object being referenced.- Returns:
this
-
namespace
@Stability(Stable) public ParentReferenceV1Alpha1.Builder namespace(String namespace)
Sets the value ofParentReferenceV1Alpha1.getNamespace()- Parameters:
namespace- Namespace is the namespace of the object being referenced.- Returns:
this
-
resource
@Stability(Stable) public ParentReferenceV1Alpha1.Builder resource(String resource)
Sets the value ofParentReferenceV1Alpha1.getResource()- Parameters:
resource- Resource is the resource of the object being referenced.- Returns:
this
-
uid
@Stability(Stable) public ParentReferenceV1Alpha1.Builder uid(String uid)
Sets the value ofParentReferenceV1Alpha1.getUid()- Parameters:
uid- UID is the uid of the object being referenced.- Returns:
this
-
build
@Stability(Stable) public ParentReferenceV1Alpha1 build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ParentReferenceV1Alpha1>- Returns:
- a new instance of
ParentReferenceV1Alpha1 - Throws:
NullPointerException- if any required attribute was not provided
-
-