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