Package org.cdk8s.plus25.k8s
Class RoleRef.Builder
- java.lang.Object
-
- org.cdk8s.plus25.k8s.RoleRef.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RoleRef.BuilderapiGroup(String apiGroup)Sets the value ofRoleRef.getApiGroup()RoleRefbuild()Builds the configured instance.RoleRef.Builderkind(String kind)Sets the value ofRoleRef.getKind()RoleRef.Buildername(String name)Sets the value ofRoleRef.getName()
-
-
-
Method Detail
-
apiGroup
@Stability(Stable) public RoleRef.Builder apiGroup(String apiGroup)
Sets the value ofRoleRef.getApiGroup()- Parameters:
apiGroup- APIGroup is the group for the resource being referenced. This parameter is required.- Returns:
this
-
kind
@Stability(Stable) public RoleRef.Builder kind(String kind)
Sets the value ofRoleRef.getKind()- Parameters:
kind- Kind is the type of resource being referenced. This parameter is required.- Returns:
this
-
name
@Stability(Stable) public RoleRef.Builder name(String name)
Sets the value ofRoleRef.getName()- Parameters:
name- Name is the name of resource being referenced. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public RoleRef build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<RoleRef>- Returns:
- a new instance of
RoleRef - Throws:
NullPointerException- if any required attribute was not provided
-
-