Class ConnectionPasswordEncryption.Builder
java.lang.Object
software.amazon.awscdk.services.glue.alpha.ConnectionPasswordEncryption.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ConnectionPasswordEncryption>
- Enclosing interface:
ConnectionPasswordEncryption
@Stability(Experimental)
public static final class ConnectionPasswordEncryption.Builder
extends Object
implements software.amazon.jsii.Builder<ConnectionPasswordEncryption>
A builder for
ConnectionPasswordEncryption-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofConnectionPasswordEncryption.getKmsKey()returnConnectionPasswordEncrypted(Boolean returnConnectionPasswordEncrypted) Sets the value ofConnectionPasswordEncryption.getReturnConnectionPasswordEncrypted()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
kmsKey
Sets the value ofConnectionPasswordEncryption.getKmsKey()- Parameters:
kmsKey- The KMS key used to encrypt connection passwords.- Returns:
this
-
returnConnectionPasswordEncrypted
@Stability(Experimental) public ConnectionPasswordEncryption.Builder returnConnectionPasswordEncrypted(Boolean returnConnectionPasswordEncrypted) Sets the value ofConnectionPasswordEncryption.getReturnConnectionPasswordEncrypted()- Parameters:
returnConnectionPasswordEncrypted- Whether passwords remain encrypted in the responses ofGetConnectionandGetConnections. This takes effect independently from catalog encryption.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ConnectionPasswordEncryption>- Returns:
- a new instance of
ConnectionPasswordEncryption - Throws:
NullPointerException- if any required attribute was not provided
-