Package org.cdk8s.plus24.k8s
Class KubeServiceAccountListProps.Builder
- java.lang.Object
-
- org.cdk8s.plus24.k8s.KubeServiceAccountListProps.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<KubeServiceAccountListProps>
- Enclosing interface:
- KubeServiceAccountListProps
@Stability(Stable) public static final class KubeServiceAccountListProps.Builder extends Object implements software.amazon.jsii.Builder<KubeServiceAccountListProps>
A builder forKubeServiceAccountListProps
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KubeServiceAccountListProps
build()
Builds the configured instance.KubeServiceAccountListProps.Builder
items(List<? extends KubeServiceAccountProps> items)
Sets the value ofKubeServiceAccountListProps.getItems()
KubeServiceAccountListProps.Builder
metadata(ListMeta metadata)
Sets the value ofKubeServiceAccountListProps.getMetadata()
-
-
-
Method Detail
-
items
@Stability(Stable) public KubeServiceAccountListProps.Builder items(List<? extends KubeServiceAccountProps> items)
Sets the value ofKubeServiceAccountListProps.getItems()
- Parameters:
items
- List of ServiceAccounts. This parameter is required. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/- Returns:
this
-
metadata
@Stability(Stable) public KubeServiceAccountListProps.Builder metadata(ListMeta metadata)
Sets the value ofKubeServiceAccountListProps.getMetadata()
- Parameters:
metadata
- Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds- Returns:
this
-
build
@Stability(Stable) public KubeServiceAccountListProps build()
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<KubeServiceAccountListProps>
- Returns:
- a new instance of
KubeServiceAccountListProps
- Throws:
NullPointerException
- if any required attribute was not provided
-
-