Class CfnBucketPropsMixin.OwnershipControlsRuleProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.s3.CfnBucketPropsMixin.OwnershipControlsRuleProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBucketPropsMixin.OwnershipControlsRuleProperty>
- Enclosing interface:
CfnBucketPropsMixin.OwnershipControlsRuleProperty
@Stability(Stable)
public static final class CfnBucketPropsMixin.OwnershipControlsRuleProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBucketPropsMixin.OwnershipControlsRuleProperty>
A builder for
CfnBucketPropsMixin.OwnershipControlsRuleProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.objectOwnership(String objectOwnership) Sets the value ofCfnBucketPropsMixin.OwnershipControlsRuleProperty.getObjectOwnership()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
objectOwnership
@Stability(Stable) public CfnBucketPropsMixin.OwnershipControlsRuleProperty.Builder objectOwnership(String objectOwnership) Sets the value ofCfnBucketPropsMixin.OwnershipControlsRuleProperty.getObjectOwnership()- Parameters:
objectOwnership- Specifies an object ownership rule.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBucketPropsMixin.OwnershipControlsRuleProperty>- Returns:
- a new instance of
CfnBucketPropsMixin.OwnershipControlsRuleProperty - Throws:
NullPointerException- if any required attribute was not provided
-