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