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