Class CfnBucket.BucketEncryptionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.s3.CfnBucket.BucketEncryptionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBucket.BucketEncryptionProperty>
- Enclosing interface:
CfnBucket.BucketEncryptionProperty
@Stability(Stable)
public static final class CfnBucket.BucketEncryptionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBucket.BucketEncryptionProperty>
A builder for
CfnBucket.BucketEncryptionProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.serverSideEncryptionConfiguration
(List<? extends Object> serverSideEncryptionConfiguration) serverSideEncryptionConfiguration
(IResolvable serverSideEncryptionConfiguration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
serverSideEncryptionConfiguration
@Stability(Stable) public CfnBucket.BucketEncryptionProperty.Builder serverSideEncryptionConfiguration(IResolvable serverSideEncryptionConfiguration) - Parameters:
serverSideEncryptionConfiguration
- Specifies the default server-side-encryption configuration. This parameter is required.- Returns:
this
-
serverSideEncryptionConfiguration
@Stability(Stable) public CfnBucket.BucketEncryptionProperty.Builder serverSideEncryptionConfiguration(List<? extends Object> serverSideEncryptionConfiguration) - Parameters:
serverSideEncryptionConfiguration
- Specifies the default server-side-encryption configuration. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnBucket.BucketEncryptionProperty>
- Returns:
- a new instance of
CfnBucket.BucketEncryptionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-