Class EncryptionAtRestOptions.Builder
java.lang.Object
software.amazon.awscdk.services.elasticsearch.EncryptionAtRestOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EncryptionAtRestOptions>
- Enclosing interface:
EncryptionAtRestOptions
@Stability(Deprecated)
@Deprecated
public static final class EncryptionAtRestOptions.Builder
extends Object
implements software.amazon.jsii.Builder<EncryptionAtRestOptions>
Deprecated.
A builder for
EncryptionAtRestOptions-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Deprecated.Deprecated.use opensearchservice module insteadDeprecated.use opensearchservice module instead
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
enabled
Deprecated.use opensearchservice module insteadSets the value ofEncryptionAtRestOptions.getEnabled()- Parameters:
enabled- Specify true to enable encryption at rest.- Returns:
this
-
kmsKey
Deprecated.use opensearchservice module insteadSets the value ofEncryptionAtRestOptions.getKmsKey()- Parameters:
kmsKey- Supply if using KMS key for encryption at rest.- Returns:
this
-
build
Deprecated.Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EncryptionAtRestOptions>- Returns:
- a new instance of
EncryptionAtRestOptions - Throws:
NullPointerException- if any required attribute was not provided
-