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