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