Package org.cdk8s.plus24.k8s
Class KubeDaemonSetProps.Builder
- java.lang.Object
-
- org.cdk8s.plus24.k8s.KubeDaemonSetProps.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<KubeDaemonSetProps>
- Enclosing interface:
- KubeDaemonSetProps
@Stability(Stable) public static final class KubeDaemonSetProps.Builder extends Object implements software.amazon.jsii.Builder<KubeDaemonSetProps>
A builder forKubeDaemonSetProps
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KubeDaemonSetProps
build()
Builds the configured instance.KubeDaemonSetProps.Builder
metadata(ObjectMeta metadata)
Sets the value ofKubeDaemonSetProps.getMetadata()
KubeDaemonSetProps.Builder
spec(DaemonSetSpec spec)
Sets the value ofKubeDaemonSetProps.getSpec()
-
-
-
Method Detail
-
metadata
@Stability(Stable) public KubeDaemonSetProps.Builder metadata(ObjectMeta metadata)
Sets the value ofKubeDaemonSetProps.getMetadata()
- Parameters:
metadata
- Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata- Returns:
this
-
spec
@Stability(Stable) public KubeDaemonSetProps.Builder spec(DaemonSetSpec spec)
Sets the value ofKubeDaemonSetProps.getSpec()
- Parameters:
spec
- The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status- Returns:
this
-
build
@Stability(Stable) public KubeDaemonSetProps build()
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<KubeDaemonSetProps>
- Returns:
- a new instance of
KubeDaemonSetProps
- Throws:
NullPointerException
- if any required attribute was not provided
-
-