io.burkard.cdk.services.glue.ConnectionPasswordEncryptionProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.glue
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object ConnectionPasswordEncryptionProperty {
def apply(
kmsKeyId: Option[String] = None,
returnConnectionPasswordEncrypted: Option[Boolean] = None
): software.amazon.awscdk.services.glue.CfnDataCatalogEncryptionSettings.ConnectionPasswordEncryptionProperty =
(new software.amazon.awscdk.services.glue.CfnDataCatalogEncryptionSettings.ConnectionPasswordEncryptionProperty.Builder)
.kmsKeyId(kmsKeyId.orNull)
.returnConnectionPasswordEncrypted(returnConnectionPasswordEncrypted.map(Boolean.box).getOrElse(java.lang.Boolean.FALSE))
.build()
}