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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.s3.CfnBucket.ObjectLockConfigurationProperty
CfnBucket.ObjectLockConfigurationProperty.Builder, CfnBucket.ObjectLockConfigurationProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnBucket.ObjectLockConfigurationProperty.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 theCfnBucket.ObjectLockConfigurationProperty.Builder.
-
-
Method Details
-
getObjectLockEnabled
Description copied from interface:CfnBucket.ObjectLockConfigurationPropertyIndicates whether this bucket has an Object Lock configuration enabled.Enable
ObjectLockEnabledwhen you applyObjectLockConfigurationto a bucket.- Specified by:
getObjectLockEnabledin interfaceCfnBucket.ObjectLockConfigurationProperty- See Also:
-
getRule
Description copied from interface:CfnBucket.ObjectLockConfigurationPropertySpecifies the Object Lock rule for the specified object.Enable this rule when you apply
ObjectLockConfigurationto a bucket. If Object Lock is turned on, bucket settings require bothModeand a period of eitherDaysorYears. You cannot specifyDaysandYearsat the same time. For more information, see ObjectLockRule and DefaultRetention .Returns union: either
IResolvableorCfnBucket.ObjectLockRuleProperty- Specified by:
getRulein interfaceCfnBucket.ObjectLockConfigurationProperty- 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()
-