Package org.cdk8s.plus25.k8s
Class KubeNetworkPolicyListProps.Builder
- java.lang.Object
-
- org.cdk8s.plus25.k8s.KubeNetworkPolicyListProps.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<KubeNetworkPolicyListProps>
- Enclosing interface:
- KubeNetworkPolicyListProps
@Stability(Stable) public static final class KubeNetworkPolicyListProps.Builder extends Object implements software.amazon.jsii.Builder<KubeNetworkPolicyListProps>
A builder forKubeNetworkPolicyListProps
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KubeNetworkPolicyListPropsbuild()Builds the configured instance.KubeNetworkPolicyListProps.Builderitems(List<? extends KubeNetworkPolicyProps> items)Sets the value ofKubeNetworkPolicyListProps.getItems()KubeNetworkPolicyListProps.Buildermetadata(ListMeta metadata)Sets the value ofKubeNetworkPolicyListProps.getMetadata()
-
-
-
Method Detail
-
items
@Stability(Stable) public KubeNetworkPolicyListProps.Builder items(List<? extends KubeNetworkPolicyProps> items)
Sets the value ofKubeNetworkPolicyListProps.getItems()- Parameters:
items- Items is a list of schema objects. This parameter is required.- Returns:
this
-
metadata
@Stability(Stable) public KubeNetworkPolicyListProps.Builder metadata(ListMeta metadata)
Sets the value ofKubeNetworkPolicyListProps.getMetadata()- Parameters:
metadata- Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata- Returns:
this
-
build
@Stability(Stable) public KubeNetworkPolicyListProps build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<KubeNetworkPolicyListProps>- Returns:
- a new instance of
KubeNetworkPolicyListProps - Throws:
NullPointerException- if any required attribute was not provided
-
-