Package org.cdk8s.plus24.k8s
Class KubeControllerRevision.Builder
- java.lang.Object
-
- org.cdk8s.plus24.k8s.KubeControllerRevision.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<KubeControllerRevision>
- Enclosing class:
- KubeControllerRevision
@Stability(Stable) public static final class KubeControllerRevision.Builder extends Object implements software.amazon.jsii.Builder<KubeControllerRevision>
A fluent builder forKubeControllerRevision
.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description KubeControllerRevision
build()
static KubeControllerRevision.Builder
create(software.constructs.Construct scope, String id)
KubeControllerRevision.Builder
data(Object data)
Data is the serialized representation of the state.KubeControllerRevision.Builder
metadata(ObjectMeta metadata)
Standard object's metadata.KubeControllerRevision.Builder
revision(Number revision)
Revision indicates the revision of the state represented by Data.
-
-
-
Method Detail
-
create
@Stability(Stable) public static KubeControllerRevision.Builder create(software.constructs.Construct scope, String id)
- Parameters:
scope
- the scope in which to define this object. This parameter is required.id
- a scope-local name for the object. This parameter is required.- Returns:
- a new instance of
KubeControllerRevision.Builder
.
-
revision
@Stability(Stable) public KubeControllerRevision.Builder revision(Number revision)
Revision indicates the revision of the state represented by Data.- Parameters:
revision
- Revision indicates the revision of the state represented by Data. This parameter is required.- Returns:
this
-
data
@Stability(Stable) public KubeControllerRevision.Builder data(Object data)
Data is the serialized representation of the state.- Parameters:
data
- Data is the serialized representation of the state. This parameter is required.- Returns:
this
-
metadata
@Stability(Stable) public KubeControllerRevision.Builder metadata(ObjectMeta metadata)
Standard object's metadata.More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
- Parameters:
metadata
- Standard object's metadata. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public KubeControllerRevision build()
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<KubeControllerRevision>
-
-