Package org.cdk8s.plus24.k8s
Class KubeClusterRoleList.Builder
- java.lang.Object
-
- org.cdk8s.plus24.k8s.KubeClusterRoleList.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<KubeClusterRoleList>
- Enclosing class:
- KubeClusterRoleList
@Stability(Stable) public static final class KubeClusterRoleList.Builder extends Object implements software.amazon.jsii.Builder<KubeClusterRoleList>
A fluent builder forKubeClusterRoleList
.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description KubeClusterRoleList
build()
static KubeClusterRoleList.Builder
create(software.constructs.Construct scope, String id)
KubeClusterRoleList.Builder
items(List<? extends KubeClusterRoleProps> items)
Items is a list of ClusterRoles.KubeClusterRoleList.Builder
metadata(ListMeta metadata)
Standard object's metadata.
-
-
-
Method Detail
-
create
@Stability(Stable) public static KubeClusterRoleList.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
KubeClusterRoleList.Builder
.
-
items
@Stability(Stable) public KubeClusterRoleList.Builder items(List<? extends KubeClusterRoleProps> items)
Items is a list of ClusterRoles.- Parameters:
items
- Items is a list of ClusterRoles. This parameter is required.- Returns:
this
-
metadata
@Stability(Stable) public KubeClusterRoleList.Builder metadata(ListMeta metadata)
Standard object's metadata.- Parameters:
metadata
- Standard object's metadata. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public KubeClusterRoleList build()
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<KubeClusterRoleList>
- Returns:
- a newly built instance of
KubeClusterRoleList
.
-
-