Package org.cdk8s.plus25.k8s
Class StatefulSetPersistentVolumeClaimRetentionPolicy.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus25.k8s.StatefulSetPersistentVolumeClaimRetentionPolicy.Jsii$Proxy
-
- All Implemented Interfaces:
StatefulSetPersistentVolumeClaimRetentionPolicy,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- StatefulSetPersistentVolumeClaimRetentionPolicy
@Stability(Stable) @Internal public static final class StatefulSetPersistentVolumeClaimRetentionPolicy.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements StatefulSetPersistentVolumeClaimRetentionPolicy
An implementation forStatefulSetPersistentVolumeClaimRetentionPolicy
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface org.cdk8s.plus25.k8s.StatefulSetPersistentVolumeClaimRetentionPolicy
StatefulSetPersistentVolumeClaimRetentionPolicy.Builder, StatefulSetPersistentVolumeClaimRetentionPolicy.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(StatefulSetPersistentVolumeClaimRetentionPolicy.Builder builder)Constructor that initializes the object based on literal property values passed by theStatefulSetPersistentVolumeClaimRetentionPolicy.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)StringgetWhenDeleted()WhenDeleted specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is deleted.StringgetWhenScaled()WhenScaled specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is scaled down.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(StatefulSetPersistentVolumeClaimRetentionPolicy.Builder builder)
Constructor that initializes the object based on literal property values passed by theStatefulSetPersistentVolumeClaimRetentionPolicy.Builder.
-
-
Method Detail
-
getWhenDeleted
public final String getWhenDeleted()
Description copied from interface:StatefulSetPersistentVolumeClaimRetentionPolicyWhenDeleted specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is deleted.The default policy of
Retaincauses PVCs to not be affected by StatefulSet deletion. TheDeletepolicy causes those PVCs to be deleted.- Specified by:
getWhenDeletedin interfaceStatefulSetPersistentVolumeClaimRetentionPolicy
-
getWhenScaled
public final String getWhenScaled()
Description copied from interface:StatefulSetPersistentVolumeClaimRetentionPolicyWhenScaled specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is scaled down.The default policy of
Retaincauses PVCs to not be affected by a scaledown. TheDeletepolicy causes the associated PVCs for any excess pods above the replica count to be deleted.- Specified by:
getWhenScaledin interfaceStatefulSetPersistentVolumeClaimRetentionPolicy
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-