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