Package org.cdk8s.plus25.k8s
Class KubeControllerRevisionProps.Builder
- java.lang.Object
-
- org.cdk8s.plus25.k8s.KubeControllerRevisionProps.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<KubeControllerRevisionProps>
- Enclosing interface:
- KubeControllerRevisionProps
@Stability(Stable) public static final class KubeControllerRevisionProps.Builder extends Object implements software.amazon.jsii.Builder<KubeControllerRevisionProps>
A builder forKubeControllerRevisionProps
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KubeControllerRevisionPropsbuild()Builds the configured instance.KubeControllerRevisionProps.Builderdata(Object data)Sets the value ofKubeControllerRevisionProps.getData()KubeControllerRevisionProps.Buildermetadata(ObjectMeta metadata)Sets the value ofKubeControllerRevisionProps.getMetadata()KubeControllerRevisionProps.Builderrevision(Number revision)Sets the value ofKubeControllerRevisionProps.getRevision()
-
-
-
Method Detail
-
revision
@Stability(Stable) public KubeControllerRevisionProps.Builder revision(Number revision)
Sets the value ofKubeControllerRevisionProps.getRevision()- Parameters:
revision- Revision indicates the revision of the state represented by Data. This parameter is required.- Returns:
this
-
data
@Stability(Stable) public KubeControllerRevisionProps.Builder data(Object data)
Sets the value ofKubeControllerRevisionProps.getData()- Parameters:
data- Data is the serialized representation of the state.- Returns:
this
-
metadata
@Stability(Stable) public KubeControllerRevisionProps.Builder metadata(ObjectMeta metadata)
Sets the value ofKubeControllerRevisionProps.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 KubeControllerRevisionProps build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<KubeControllerRevisionProps>- Returns:
- a new instance of
KubeControllerRevisionProps - Throws:
NullPointerException- if any required attribute was not provided
-
-