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