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