@Stability(value=Stable) public static final class CfnBucket.OwnershipControlsRuleProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnBucket.OwnershipControlsRuleProperty>
CfnBucket.OwnershipControlsRuleProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnBucket.OwnershipControlsRuleProperty |
build()
Builds the configured instance.
|
CfnBucket.OwnershipControlsRuleProperty.Builder |
objectOwnership(String objectOwnership)
Sets the value of
CfnBucket.OwnershipControlsRuleProperty.getObjectOwnership() |
@Stability(value=Stable) public CfnBucket.OwnershipControlsRuleProperty.Builder objectOwnership(String objectOwnership)
CfnBucket.OwnershipControlsRuleProperty.getObjectOwnership()objectOwnership - Specifies an Object Ownership rule.
Allowed values : BucketOwnerEnforced | ObjectWriter | BucketOwnerPreferredthis@Stability(value=Stable) public CfnBucket.OwnershipControlsRuleProperty build()
build in interface software.amazon.jsii.Builder<CfnBucket.OwnershipControlsRuleProperty>CfnBucket.OwnershipControlsRulePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.