Class CfnVolume.RetentionPeriodProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.fsx.CfnVolume.RetentionPeriodProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnVolume.RetentionPeriodProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnVolume.RetentionPeriodProperty
@Stability(Stable)
@Internal
public static final class CfnVolume.RetentionPeriodProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnVolume.RetentionPeriodProperty
An implementation for
CfnVolume.RetentionPeriodProperty-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.fsx.CfnVolume.RetentionPeriodProperty
CfnVolume.RetentionPeriodProperty.Builder, CfnVolume.RetentionPeriodProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnVolume.RetentionPeriodProperty.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal StringgetType()Defines the type of time for the retention period of an FSx for ONTAP SnapLock volume.final NumbergetValue()Defines the amount of time for the retention period of an FSx for ONTAP SnapLock volume.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
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
Constructor that initializes the object based on literal property values passed by theCfnVolume.RetentionPeriodProperty.Builder.
-
-
Method Details
-
getType
Description copied from interface:CfnVolume.RetentionPeriodPropertyDefines the type of time for the retention period of an FSx for ONTAP SnapLock volume.Set it to one of the valid types. If you set it to
INFINITE, the files are retained forever. If you set it toUNSPECIFIED, the files are retained until you set an explicit retention period.- Specified by:
getTypein interfaceCfnVolume.RetentionPeriodProperty- See Also:
-
getValue
Description copied from interface:CfnVolume.RetentionPeriodPropertyDefines the amount of time for the retention period of an FSx for ONTAP SnapLock volume.You can't set a value for
INFINITEorUNSPECIFIED. For all other options, the following ranges are valid:Seconds: 0 - 65,535Minutes: 0 - 65,535Hours: 0 - 24Days: 0 - 365Months: 0 - 12Years: 0 - 100
- Specified by:
getValuein interfaceCfnVolume.RetentionPeriodProperty- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-