Package org.cdk8s.plus25.k8s
Class KubeSecretListProps.Builder
- java.lang.Object
-
- org.cdk8s.plus25.k8s.KubeSecretListProps.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<KubeSecretListProps>
- Enclosing interface:
- KubeSecretListProps
@Stability(Stable) public static final class KubeSecretListProps.Builder extends Object implements software.amazon.jsii.Builder<KubeSecretListProps>
A builder forKubeSecretListProps
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KubeSecretListPropsbuild()Builds the configured instance.KubeSecretListProps.Builderitems(List<? extends KubeSecretProps> items)Sets the value ofKubeSecretListProps.getItems()KubeSecretListProps.Buildermetadata(ListMeta metadata)Sets the value ofKubeSecretListProps.getMetadata()
-
-
-
Method Detail
-
items
@Stability(Stable) public KubeSecretListProps.Builder items(List<? extends KubeSecretProps> items)
Sets the value ofKubeSecretListProps.getItems()- Parameters:
items- Items is a list of secret objects. This parameter is required. More info: https://kubernetes.io/docs/concepts/configuration/secret- Returns:
this
-
metadata
@Stability(Stable) public KubeSecretListProps.Builder metadata(ListMeta metadata)
Sets the value ofKubeSecretListProps.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 KubeSecretListProps build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<KubeSecretListProps>- Returns:
- a new instance of
KubeSecretListProps - Throws:
NullPointerException- if any required attribute was not provided
-
-