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