Package org.cdk8s.plus20
Class GroupProps.Builder
- java.lang.Object
-
- org.cdk8s.plus20.GroupProps.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<GroupProps>
- Enclosing interface:
- GroupProps
@Stability(Stable) public static final class GroupProps.Builder extends Object implements software.amazon.jsii.Builder<GroupProps>
A builder forGroupProps
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupPropsbuild()Builds the configured instance.GroupProps.Buildername(String name)Sets the value ofGroupProps.getName()
-
-
-
Method Detail
-
name
@Stability(Stable) public GroupProps.Builder name(String name)
Sets the value ofGroupProps.getName()- Parameters:
name- The name of the group. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public GroupProps build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GroupProps>- Returns:
- a new instance of
GroupProps - Throws:
NullPointerException- if any required attribute was not provided
-
-