Class CloudWatchEncryption.Builder
java.lang.Object
software.amazon.awscdk.services.glue.alpha.CloudWatchEncryption.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CloudWatchEncryption>
- Enclosing interface:
CloudWatchEncryption
@Stability(Experimental)
public static final class CloudWatchEncryption.Builder
extends Object
implements software.amazon.jsii.Builder<CloudWatchEncryption>
A builder for
CloudWatchEncryption
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCloudWatchEncryption.getKmsKey()
mode
(CloudWatchEncryptionMode mode) Sets the value ofCloudWatchEncryption.getMode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
mode
Sets the value ofCloudWatchEncryption.getMode()
- Parameters:
mode
- Encryption mode. This parameter is required.- Returns:
this
-
kmsKey
Sets the value ofCloudWatchEncryption.getKmsKey()
- Parameters:
kmsKey
- The KMS key to be used to encrypt the data.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CloudWatchEncryption>
- Returns:
- a new instance of
CloudWatchEncryption
- Throws:
NullPointerException
- if any required attribute was not provided
-