Package org.cdk8s.plus25.k8s
Class KubeControllerRevision
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.constructs.Construct
-
- org.cdk8s.ApiObject
-
- org.cdk8s.plus25.k8s.KubeControllerRevision
-
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.594Z") @Stability(Stable) public class KubeControllerRevision extends org.cdk8s.ApiObject
ControllerRevision implements an immutable snapshot of state data.Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classKubeControllerRevision.BuilderA fluent builder forKubeControllerRevision.
-
Field Summary
Fields Modifier and Type Field Description static org.cdk8s.GroupVersionKindGVKReturns the apiVersion and kind for "io.k8s.api.apps.v1.ControllerRevision".
-
Constructor Summary
Constructors Modifier Constructor Description protectedKubeControllerRevision(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedKubeControllerRevision(software.amazon.jsii.JsiiObjectRef objRef)KubeControllerRevision(software.constructs.Construct scope, String id, KubeControllerRevisionProps props)Defines a "io.k8s.api.apps.v1.ControllerRevision" API object.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Objectmanifest(KubeControllerRevisionProps props)Renders a Kubernetes manifest for "io.k8s.api.apps.v1.ControllerRevision".ObjecttoJson()Renders the object to Kubernetes JSON.-
Methods inherited from class org.cdk8s.ApiObject
addDependency, addJsonPatch, getApiGroup, getApiVersion, getChart, getKind, getMetadata, getName, isApiObject, of
-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
-
-
-
Constructor Detail
-
KubeControllerRevision
protected KubeControllerRevision(software.amazon.jsii.JsiiObjectRef objRef)
-
KubeControllerRevision
protected KubeControllerRevision(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
KubeControllerRevision
@Stability(Stable) public KubeControllerRevision(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull KubeControllerRevisionProps props)Defines a "io.k8s.api.apps.v1.ControllerRevision" API object.- 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.props- initialization props. This parameter is required.
-
-
Method Detail
-
manifest
@Stability(Stable) @NotNull public static Object manifest(@NotNull KubeControllerRevisionProps props)
Renders a Kubernetes manifest for "io.k8s.api.apps.v1.ControllerRevision".This can be used to inline resource manifests inside other objects (e.g. as templates).
- Parameters:
props- initialization props. This parameter is required.
-
toJson
@Stability(Stable) @NotNull public Object toJson()
Renders the object to Kubernetes JSON.- Overrides:
toJsonin classorg.cdk8s.ApiObject
-
-