Package org.cdk8s.plus24.k8s
Class KubeClusterRoleListProps.Builder
- java.lang.Object
-
- org.cdk8s.plus24.k8s.KubeClusterRoleListProps.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<KubeClusterRoleListProps>
- Enclosing interface:
- KubeClusterRoleListProps
@Stability(Stable) public static final class KubeClusterRoleListProps.Builder extends Object implements software.amazon.jsii.Builder<KubeClusterRoleListProps>
A builder forKubeClusterRoleListProps
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KubeClusterRoleListProps
build()
Builds the configured instance.KubeClusterRoleListProps.Builder
items(List<? extends KubeClusterRoleProps> items)
Sets the value ofKubeClusterRoleListProps.getItems()
KubeClusterRoleListProps.Builder
metadata(ListMeta metadata)
Sets the value ofKubeClusterRoleListProps.getMetadata()
-
-
-
Method Detail
-
items
@Stability(Stable) public KubeClusterRoleListProps.Builder items(List<? extends KubeClusterRoleProps> items)
Sets the value ofKubeClusterRoleListProps.getItems()
- Parameters:
items
- Items is a list of ClusterRoles. This parameter is required.- Returns:
this
-
metadata
@Stability(Stable) public KubeClusterRoleListProps.Builder metadata(ListMeta metadata)
Sets the value ofKubeClusterRoleListProps.getMetadata()
- Parameters:
metadata
- Standard object's metadata.- Returns:
this
-
build
@Stability(Stable) public KubeClusterRoleListProps build()
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<KubeClusterRoleListProps>
- Returns:
- a new instance of
KubeClusterRoleListProps
- Throws:
NullPointerException
- if any required attribute was not provided
-
-