Package org.cdk8s.plus25.k8s
Class GroupSubjectV1Beta1.Builder
- java.lang.Object
-
- org.cdk8s.plus25.k8s.GroupSubjectV1Beta1.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<GroupSubjectV1Beta1>
- Enclosing interface:
- GroupSubjectV1Beta1
@Stability(Stable) public static final class GroupSubjectV1Beta1.Builder extends Object implements software.amazon.jsii.Builder<GroupSubjectV1Beta1>
A builder forGroupSubjectV1Beta1
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupSubjectV1Beta1build()Builds the configured instance.GroupSubjectV1Beta1.Buildername(String name)Sets the value ofGroupSubjectV1Beta1.getName()
-
-
-
Method Detail
-
name
@Stability(Stable) public GroupSubjectV1Beta1.Builder name(String name)
Sets the value ofGroupSubjectV1Beta1.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 GroupSubjectV1Beta1 build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GroupSubjectV1Beta1>- Returns:
- a new instance of
GroupSubjectV1Beta1 - Throws:
NullPointerException- if any required attribute was not provided
-
-