Package org.cdk8s.plus25.k8s
Class KubeComponentStatusProps.Builder
- java.lang.Object
-
- org.cdk8s.plus25.k8s.KubeComponentStatusProps.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<KubeComponentStatusProps>
- Enclosing interface:
- KubeComponentStatusProps
@Stability(Stable) public static final class KubeComponentStatusProps.Builder extends Object implements software.amazon.jsii.Builder<KubeComponentStatusProps>
A builder forKubeComponentStatusProps
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KubeComponentStatusPropsbuild()Builds the configured instance.KubeComponentStatusProps.Builderconditions(List<? extends ComponentCondition> conditions)Sets the value ofKubeComponentStatusProps.getConditions()KubeComponentStatusProps.Buildermetadata(ObjectMeta metadata)Sets the value ofKubeComponentStatusProps.getMetadata()
-
-
-
Method Detail
-
conditions
@Stability(Stable) public KubeComponentStatusProps.Builder conditions(List<? extends ComponentCondition> conditions)
Sets the value ofKubeComponentStatusProps.getConditions()- Parameters:
conditions- List of component conditions observed.- Returns:
this
-
metadata
@Stability(Stable) public KubeComponentStatusProps.Builder metadata(ObjectMeta metadata)
Sets the value ofKubeComponentStatusProps.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 KubeComponentStatusProps build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<KubeComponentStatusProps>- Returns:
- a new instance of
KubeComponentStatusProps - Throws:
NullPointerException- if any required attribute was not provided
-
-