Class CfnBucket.SseKmsEncryptedObjectsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.s3.CfnBucket.SseKmsEncryptedObjectsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBucket.SseKmsEncryptedObjectsProperty>
- Enclosing interface:
CfnBucket.SseKmsEncryptedObjectsProperty
@Stability(Stable)
public static final class CfnBucket.SseKmsEncryptedObjectsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBucket.SseKmsEncryptedObjectsProperty>
A builder for
CfnBucket.SseKmsEncryptedObjectsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnBucket.SseKmsEncryptedObjectsProperty.getStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
status
Sets the value ofCfnBucket.SseKmsEncryptedObjectsProperty.getStatus()
- Parameters:
status
- Specifies whether Amazon S3 replicates objects created with server-side encryption using an AWS KMS key stored in AWS Key Management Service. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnBucket.SseKmsEncryptedObjectsProperty>
- Returns:
- a new instance of
CfnBucket.SseKmsEncryptedObjectsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-