Package org.cdk8s.plus25.k8s
Class KubeLimitRangeListProps.Builder
- java.lang.Object
-
- org.cdk8s.plus25.k8s.KubeLimitRangeListProps.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<KubeLimitRangeListProps>
- Enclosing interface:
- KubeLimitRangeListProps
@Stability(Stable) public static final class KubeLimitRangeListProps.Builder extends Object implements software.amazon.jsii.Builder<KubeLimitRangeListProps>
A builder forKubeLimitRangeListProps
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KubeLimitRangeListPropsbuild()Builds the configured instance.KubeLimitRangeListProps.Builderitems(List<? extends KubeLimitRangeProps> items)Sets the value ofKubeLimitRangeListProps.getItems()KubeLimitRangeListProps.Buildermetadata(ListMeta metadata)Sets the value ofKubeLimitRangeListProps.getMetadata()
-
-
-
Method Detail
-
items
@Stability(Stable) public KubeLimitRangeListProps.Builder items(List<? extends KubeLimitRangeProps> items)
Sets the value ofKubeLimitRangeListProps.getItems()- Parameters:
items- Items is a list of LimitRange objects. This parameter is required. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/- Returns:
this
-
metadata
@Stability(Stable) public KubeLimitRangeListProps.Builder metadata(ListMeta metadata)
Sets the value ofKubeLimitRangeListProps.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 KubeLimitRangeListProps build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<KubeLimitRangeListProps>- Returns:
- a new instance of
KubeLimitRangeListProps - Throws:
NullPointerException- if any required attribute was not provided
-
-