Class CfnBucketPropsMixin.ObjectLockConfigurationProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.cfnpropertymixins.services.s3.CfnBucketPropsMixin.ObjectLockConfigurationProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnBucketPropsMixin.ObjectLockConfigurationProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnBucketPropsMixin.ObjectLockConfigurationProperty
@Stability(Stable)
@Internal
public static final class CfnBucketPropsMixin.ObjectLockConfigurationProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnBucketPropsMixin.ObjectLockConfigurationProperty
An implementation for
CfnBucketPropsMixin.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.cfnpropertymixins.services.s3.CfnBucketPropsMixin.ObjectLockConfigurationProperty
CfnBucketPropsMixin.ObjectLockConfigurationProperty.Builder, CfnBucketPropsMixin.ObjectLockConfigurationProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnBucketPropsMixin.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 theCfnBucketPropsMixin.ObjectLockConfigurationProperty.Builder.
-
-
Method Details
-
getObjectLockEnabled
Description copied from interface:CfnBucketPropsMixin.ObjectLockConfigurationPropertyIndicates whether this bucket has an Object Lock configuration enabled.Enable
ObjectLockEnabledwhen you applyObjectLockConfigurationto a bucket.- Specified by:
getObjectLockEnabledin interfaceCfnBucketPropsMixin.ObjectLockConfigurationProperty- See Also:
-
getRule
Description copied from interface:CfnBucketPropsMixin.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
IResolvableorCfnBucketPropsMixin.ObjectLockRuleProperty- Specified by:
getRulein interfaceCfnBucketPropsMixin.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()
-