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