Package org.cdk8s.plus24.k8s
Class RoleRef.Builder
- java.lang.Object
-
- org.cdk8s.plus24.k8s.RoleRef.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RoleRef.Builder
apiGroup(String apiGroup)
Sets the value ofRoleRef.getApiGroup()
RoleRef
build()
Builds the configured instance.RoleRef.Builder
kind(String kind)
Sets the value ofRoleRef.getKind()
RoleRef.Builder
name(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:
build
in interfacesoftware.amazon.jsii.Builder<RoleRef>
- Returns:
- a new instance of
RoleRef
- Throws:
NullPointerException
- if any required attribute was not provided
-
-