Package org.cdk8s.plus24.k8s
Class GroupSubjectV1Beta2.Builder
- java.lang.Object
-
- org.cdk8s.plus24.k8s.GroupSubjectV1Beta2.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<GroupSubjectV1Beta2>
- Enclosing interface:
- GroupSubjectV1Beta2
@Stability(Stable) public static final class GroupSubjectV1Beta2.Builder extends Object implements software.amazon.jsii.Builder<GroupSubjectV1Beta2>
A builder forGroupSubjectV1Beta2
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupSubjectV1Beta2
build()
Builds the configured instance.GroupSubjectV1Beta2.Builder
name(String name)
Sets the value ofGroupSubjectV1Beta2.getName()
-
-
-
Method Detail
-
name
@Stability(Stable) public GroupSubjectV1Beta2.Builder name(String name)
Sets the value ofGroupSubjectV1Beta2.getName()
- Parameters:
name
- name is the user group that matches, or "*" to match all user groups. This parameter is required. See https://github.com/kubernetes/apiserver/blob/master/pkg/authentication/user/user.go for some well-known group names. Required.- Returns:
this
-
build
@Stability(Stable) public GroupSubjectV1Beta2 build()
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<GroupSubjectV1Beta2>
- Returns:
- a new instance of
GroupSubjectV1Beta2
- Throws:
NullPointerException
- if any required attribute was not provided
-
-