@Stability(value=Stable) public static final class CfnBucket.ObjectLockConfigurationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnBucket.ObjectLockConfigurationProperty>
CfnBucket.ObjectLockConfigurationProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnBucket.ObjectLockConfigurationProperty |
build()
Builds the configured instance.
|
CfnBucket.ObjectLockConfigurationProperty.Builder |
objectLockEnabled(String objectLockEnabled)
Sets the value of
CfnBucket.ObjectLockConfigurationProperty.getObjectLockEnabled() |
CfnBucket.ObjectLockConfigurationProperty.Builder |
rule(CfnBucket.ObjectLockRuleProperty rule)
Sets the value of
CfnBucket.ObjectLockConfigurationProperty.getRule() |
CfnBucket.ObjectLockConfigurationProperty.Builder |
rule(IResolvable rule)
Sets the value of
CfnBucket.ObjectLockConfigurationProperty.getRule() |
@Stability(value=Stable) public CfnBucket.ObjectLockConfigurationProperty.Builder objectLockEnabled(String objectLockEnabled)
CfnBucket.ObjectLockConfigurationProperty.getObjectLockEnabled()objectLockEnabled - `CfnBucket.ObjectLockConfigurationProperty.ObjectLockEnabled`.this@Stability(value=Stable) public CfnBucket.ObjectLockConfigurationProperty.Builder rule(CfnBucket.ObjectLockRuleProperty rule)
CfnBucket.ObjectLockConfigurationProperty.getRule()rule - `CfnBucket.ObjectLockConfigurationProperty.Rule`.this@Stability(value=Stable) public CfnBucket.ObjectLockConfigurationProperty.Builder rule(IResolvable rule)
CfnBucket.ObjectLockConfigurationProperty.getRule()rule - `CfnBucket.ObjectLockConfigurationProperty.Rule`.this@Stability(value=Stable) public CfnBucket.ObjectLockConfigurationProperty build()
build in interface software.amazon.jsii.Builder<CfnBucket.ObjectLockConfigurationProperty>CfnBucket.ObjectLockConfigurationPropertyNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.