Class CfnBucketPropsMixin.ObjectLockRuleProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.cfnpropertymixins.services.s3.CfnBucketPropsMixin.ObjectLockRuleProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnBucketPropsMixin.ObjectLockRuleProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnBucketPropsMixin.ObjectLockRuleProperty
@Stability(Stable)
@Internal
public static final class CfnBucketPropsMixin.ObjectLockRuleProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnBucketPropsMixin.ObjectLockRuleProperty
An implementation for
CfnBucketPropsMixin.ObjectLockRuleProperty-
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.cfnpropertymixins.services.s3.CfnBucketPropsMixin.ObjectLockRuleProperty
CfnBucketPropsMixin.ObjectLockRuleProperty.Builder, CfnBucketPropsMixin.ObjectLockRuleProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnBucketPropsMixin.ObjectLockRuleProperty.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
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 theCfnBucketPropsMixin.ObjectLockRuleProperty.Builder.
-
-
Method Details
-
getDefaultRetention
Description copied from interface:CfnBucketPropsMixin.ObjectLockRulePropertyThe default Object Lock retention mode and period that you want to apply to new objects placed in the specified bucket.If Object Lock is turned on, bucket settings require both
Modeand a period of eitherDaysorYears. You cannot specifyDaysandYearsat the same time. For more information about allowable values for mode and period, see DefaultRetention .Returns union: either
IResolvableorCfnBucketPropsMixin.DefaultRetentionProperty- Specified by:
getDefaultRetentionin interfaceCfnBucketPropsMixin.ObjectLockRuleProperty- 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()
-