Class CfnBucketPropsMixin.AccessControlTranslationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.s3.CfnBucketPropsMixin.AccessControlTranslationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBucketPropsMixin.AccessControlTranslationProperty>
- Enclosing interface:
CfnBucketPropsMixin.AccessControlTranslationProperty
@Stability(Stable)
public static final class CfnBucketPropsMixin.AccessControlTranslationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBucketPropsMixin.AccessControlTranslationProperty>
A builder for
CfnBucketPropsMixin.AccessControlTranslationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnBucketPropsMixin.AccessControlTranslationProperty.getOwner()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
owner
@Stability(Stable) public CfnBucketPropsMixin.AccessControlTranslationProperty.Builder owner(String owner) Sets the value ofCfnBucketPropsMixin.AccessControlTranslationProperty.getOwner()- Parameters:
owner- Specifies the replica ownership. For default and valid values, see PUT bucket replication in the Amazon S3 API Reference .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBucketPropsMixin.AccessControlTranslationProperty>- Returns:
- a new instance of
CfnBucketPropsMixin.AccessControlTranslationProperty - Throws:
NullPointerException- if any required attribute was not provided
-