Class CfnBucket.ObjectLockConfigurationProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.s3.CfnBucket.ObjectLockConfigurationProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnBucket.ObjectLockConfigurationProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnBucket.ObjectLockConfigurationProperty
@Stability(Stable)
@Internal
public static final class CfnBucket.ObjectLockConfigurationProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnBucket.ObjectLockConfigurationProperty
An implementation for
CfnBucket.ObjectLockConfigurationProperty
-
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.ObjectLockConfigurationProperty
CfnBucket.ObjectLockConfigurationProperty.Builder, CfnBucket.ObjectLockConfigurationProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnBucket.ObjectLockConfigurationProperty.Builder
.protected
Jsii$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 theCfnBucket.ObjectLockConfigurationProperty.Builder
.
-
-
Method Details
-
getObjectLockEnabled
Description copied from interface:CfnBucket.ObjectLockConfigurationProperty
Indicates whether this bucket has an Object Lock configuration enabled.Enable
ObjectLockEnabled
when you applyObjectLockConfiguration
to a bucket.- Specified by:
getObjectLockEnabled
in interfaceCfnBucket.ObjectLockConfigurationProperty
- See Also:
-
getRule
Description copied from interface:CfnBucket.ObjectLockConfigurationProperty
Specifies the Object Lock rule for the specified object.Enable this rule when you apply
ObjectLockConfiguration
to a bucket. If Object Lock is turned on, bucket settings require bothMode
and a period of eitherDays
orYears
. You cannot specifyDays
andYears
at the same time. For more information, see ObjectLockRule and DefaultRetention .- Specified by:
getRule
in interfaceCfnBucket.ObjectLockConfigurationProperty
- 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()
-