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