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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.fsx.CfnVolume.RetentionPeriodProperty
CfnVolume.RetentionPeriodProperty.Builder, CfnVolume.RetentionPeriodProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnVolume.RetentionPeriodProperty.Builder
.protected
Jsii$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.JsonNode
final boolean
final String
getType()
Defines the type of time for the retention period of an FSx for ONTAP SnapLock volume.final Number
getValue()
Defines the amount of time for the retention period of an FSx for ONTAP SnapLock volume.final int
hashCode()
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.RetentionPeriodProperty
Defines 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:
getType
in interfaceCfnVolume.RetentionPeriodProperty
- See Also:
-
getValue
Description copied from interface:CfnVolume.RetentionPeriodProperty
Defines the amount of time for the retention period of an FSx for ONTAP SnapLock volume.You can't set a value for
INFINITE
orUNSPECIFIED
. 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:
getValue
in interfaceCfnVolume.RetentionPeriodProperty
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-