Class CfnBucket.DefaultRetentionProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.s3.CfnBucket.DefaultRetentionProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnBucket.DefaultRetentionProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnBucket.DefaultRetentionProperty
@Stability(Stable)
@Internal
public static final class CfnBucket.DefaultRetentionProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnBucket.DefaultRetentionProperty
An implementation for
CfnBucket.DefaultRetentionProperty
-
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.s3.CfnBucket.DefaultRetentionProperty
CfnBucket.DefaultRetentionProperty.Builder, CfnBucket.DefaultRetentionProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnBucket.DefaultRetentionProperty.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 Number
getDays()
The number of days that you want to specify for the default retention period.final String
getMode()
The default Object Lock retention mode you want to apply to new objects placed in the specified bucket.final Number
getYears()
The number of years that you want to specify for the default retention period.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 theCfnBucket.DefaultRetentionProperty.Builder
.
-
-
Method Details
-
getDays
Description copied from interface:CfnBucket.DefaultRetentionProperty
The number of days that you want to specify for the default retention period.If Object Lock is turned on, you must specify
Mode
and specify eitherDays
orYears
.- Specified by:
getDays
in interfaceCfnBucket.DefaultRetentionProperty
- See Also:
-
getMode
Description copied from interface:CfnBucket.DefaultRetentionProperty
The default Object Lock retention mode you want to apply to new objects placed in the specified bucket.If Object Lock is turned on, you must specify
Mode
and specify eitherDays
orYears
.- Specified by:
getMode
in interfaceCfnBucket.DefaultRetentionProperty
- See Also:
-
getYears
Description copied from interface:CfnBucket.DefaultRetentionProperty
The number of years that you want to specify for the default retention period.If Object Lock is turned on, you must specify
Mode
and specify eitherDays
orYears
.- Specified by:
getYears
in interfaceCfnBucket.DefaultRetentionProperty
- 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()
-