Package org.cdk8s.plus24.k8s
Class KubePodDisruptionBudgetV1Beta1
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.constructs.Construct
-
- org.cdk8s.ApiObject
-
- org.cdk8s.plus24.k8s.KubePodDisruptionBudgetV1Beta1
-
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.82.0 (build 2d2ddd7)", date="2023-05-25T02:26:40.944Z") @Stability(Stable) public class KubePodDisruptionBudgetV1Beta1 extends org.cdk8s.ApiObject
PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
KubePodDisruptionBudgetV1Beta1.Builder
A fluent builder forKubePodDisruptionBudgetV1Beta1
.
-
Field Summary
Fields Modifier and Type Field Description static org.cdk8s.GroupVersionKind
GVK
Returns the apiVersion and kind for "io.k8s.api.policy.v1beta1.PodDisruptionBudget".
-
Constructor Summary
Constructors Modifier Constructor Description protected
KubePodDisruptionBudgetV1Beta1(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
protected
KubePodDisruptionBudgetV1Beta1(software.amazon.jsii.JsiiObjectRef objRef)
KubePodDisruptionBudgetV1Beta1(software.constructs.Construct scope, String id)
Defines a "io.k8s.api.policy.v1beta1.PodDisruptionBudget" API object.KubePodDisruptionBudgetV1Beta1(software.constructs.Construct scope, String id, KubePodDisruptionBudgetV1Beta1Props props)
Defines a "io.k8s.api.policy.v1beta1.PodDisruptionBudget" API object.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Object
manifest()
Renders a Kubernetes manifest for "io.k8s.api.policy.v1beta1.PodDisruptionBudget".static Object
manifest(KubePodDisruptionBudgetV1Beta1Props props)
Renders a Kubernetes manifest for "io.k8s.api.policy.v1beta1.PodDisruptionBudget".Object
toJson()
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
-
KubePodDisruptionBudgetV1Beta1
protected KubePodDisruptionBudgetV1Beta1(software.amazon.jsii.JsiiObjectRef objRef)
-
KubePodDisruptionBudgetV1Beta1
protected KubePodDisruptionBudgetV1Beta1(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
KubePodDisruptionBudgetV1Beta1
@Stability(Stable) public KubePodDisruptionBudgetV1Beta1(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable KubePodDisruptionBudgetV1Beta1Props props)
Defines a "io.k8s.api.policy.v1beta1.PodDisruptionBudget" 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.
-
KubePodDisruptionBudgetV1Beta1
@Stability(Stable) public KubePodDisruptionBudgetV1Beta1(@NotNull software.constructs.Construct scope, @NotNull String id)
Defines a "io.k8s.api.policy.v1beta1.PodDisruptionBudget" 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.
-
-
Method Detail
-
manifest
@Stability(Stable) @NotNull public static Object manifest(@Nullable KubePodDisruptionBudgetV1Beta1Props props)
Renders a Kubernetes manifest for "io.k8s.api.policy.v1beta1.PodDisruptionBudget".This can be used to inline resource manifests inside other objects (e.g. as templates).
- Parameters:
props
- initialization props.
-
manifest
@Stability(Stable) @NotNull public static Object manifest()
Renders a Kubernetes manifest for "io.k8s.api.policy.v1beta1.PodDisruptionBudget".This can be used to inline resource manifests inside other objects (e.g. as templates).
-
toJson
@Stability(Stable) @NotNull public Object toJson()
Renders the object to Kubernetes JSON.- Overrides:
toJson
in classorg.cdk8s.ApiObject
-
-