@Stability(value=Experimental) public static final class S3Encryption.Builder extends Object implements software.amazon.jsii.Builder<S3Encryption>
S3Encryption| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
S3Encryption |
build()
Builds the configured instance.
|
S3Encryption.Builder |
kmsKey(IKey kmsKey)
Sets the value of
S3Encryption.getKmsKey() |
S3Encryption.Builder |
mode(S3EncryptionMode mode)
Sets the value of
S3Encryption.getMode() |
@Stability(value=Experimental) public S3Encryption.Builder mode(S3EncryptionMode mode)
S3Encryption.getMode()mode - Encryption mode. This parameter is required.this@Stability(value=Experimental) public S3Encryption.Builder kmsKey(IKey kmsKey)
S3Encryption.getKmsKey()kmsKey - The KMS key to be used to encrypt the data.this@Stability(value=Experimental) public S3Encryption build()
build in interface software.amazon.jsii.Builder<S3Encryption>S3EncryptionNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.