Package org.cdk8s.plus25.k8s
Class KubeServiceListProps.Builder
- java.lang.Object
-
- org.cdk8s.plus25.k8s.KubeServiceListProps.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<KubeServiceListProps>
- Enclosing interface:
- KubeServiceListProps
@Stability(Stable) public static final class KubeServiceListProps.Builder extends Object implements software.amazon.jsii.Builder<KubeServiceListProps>
A builder forKubeServiceListProps
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KubeServiceListPropsbuild()Builds the configured instance.KubeServiceListProps.Builderitems(List<? extends KubeServiceProps> items)Sets the value ofKubeServiceListProps.getItems()KubeServiceListProps.Buildermetadata(ListMeta metadata)Sets the value ofKubeServiceListProps.getMetadata()
-
-
-
Method Detail
-
items
@Stability(Stable) public KubeServiceListProps.Builder items(List<? extends KubeServiceProps> items)
Sets the value ofKubeServiceListProps.getItems()- Parameters:
items- List of services. This parameter is required.- Returns:
this
-
metadata
@Stability(Stable) public KubeServiceListProps.Builder metadata(ListMeta metadata)
Sets the value ofKubeServiceListProps.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 KubeServiceListProps build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<KubeServiceListProps>- Returns:
- a new instance of
KubeServiceListProps - Throws:
NullPointerException- if any required attribute was not provided
-
-