Package org.cdk8s.plus25.k8s
Class KubeRoleList.Builder
- java.lang.Object
-
- org.cdk8s.plus25.k8s.KubeRoleList.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<KubeRoleList>
- Enclosing class:
- KubeRoleList
@Stability(Stable) public static final class KubeRoleList.Builder extends Object implements software.amazon.jsii.Builder<KubeRoleList>
A fluent builder forKubeRoleList.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description KubeRoleListbuild()static KubeRoleList.Buildercreate(software.constructs.Construct scope, String id)KubeRoleList.Builderitems(List<? extends KubeRoleProps> items)Items is a list of Roles.KubeRoleList.Buildermetadata(ListMeta metadata)Standard object's metadata.
-
-
-
Method Detail
-
create
@Stability(Stable) public static KubeRoleList.Builder create(software.constructs.Construct scope, String id)
- Parameters:
scope- the scope in which to define this object. This parameter is required.id- a scope-local name for the object. This parameter is required.- Returns:
- a new instance of
KubeRoleList.Builder.
-
items
@Stability(Stable) public KubeRoleList.Builder items(List<? extends KubeRoleProps> items)
Items is a list of Roles.- Parameters:
items- Items is a list of Roles. This parameter is required.- Returns:
this
-
metadata
@Stability(Stable) public KubeRoleList.Builder metadata(ListMeta metadata)
Standard object's metadata.- Parameters:
metadata- Standard object's metadata. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public KubeRoleList build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<KubeRoleList>- Returns:
- a newly built instance of
KubeRoleList.
-
-