Package org.cdk8s.plus24.k8s
Class StatefulSetPersistentVolumeClaimRetentionPolicy.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.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.plus24.k8s.StatefulSetPersistentVolumeClaimRetentionPolicy
StatefulSetPersistentVolumeClaimRetentionPolicy.Builder, StatefulSetPersistentVolumeClaimRetentionPolicy.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jsii$Proxy(StatefulSetPersistentVolumeClaimRetentionPolicy.Builder builder)
Constructor that initializes the object based on literal property values passed by theStatefulSetPersistentVolumeClaimRetentionPolicy.Builder
.protected
Jsii$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()
boolean
equals(Object o)
String
getWhenDeleted()
WhenDeleted specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is deleted.String
getWhenScaled()
WhenScaled specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is scaled down.int
hashCode()
-
-
-
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:StatefulSetPersistentVolumeClaimRetentionPolicy
WhenDeleted specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is deleted.The default policy of
Retain
causes PVCs to not be affected by StatefulSet deletion. TheDelete
policy causes those PVCs to be deleted.- Specified by:
getWhenDeleted
in interfaceStatefulSetPersistentVolumeClaimRetentionPolicy
-
getWhenScaled
public final String getWhenScaled()
Description copied from interface:StatefulSetPersistentVolumeClaimRetentionPolicy
WhenScaled specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is scaled down.The default policy of
Retain
causes PVCs to not be affected by a scaledown. TheDelete
policy causes the associated PVCs for any excess pods above the replica count to be deleted.- Specified by:
getWhenScaled
in interfaceStatefulSetPersistentVolumeClaimRetentionPolicy
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-