io.burkard.cdk.services.backup.CfnBackupVaultProps.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.backup
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnBackupVaultProps {
def apply(
backupVaultName: String,
encryptionKeyArn: Option[String] = None,
backupVaultTags: Option[Map[String, String]] = None,
accessPolicy: Option[AnyRef] = None,
lockConfiguration: Option[software.amazon.awscdk.services.backup.CfnBackupVault.LockConfigurationTypeProperty] = None,
notifications: Option[software.amazon.awscdk.services.backup.CfnBackupVault.NotificationObjectTypeProperty] = None
): software.amazon.awscdk.services.backup.CfnBackupVaultProps =
(new software.amazon.awscdk.services.backup.CfnBackupVaultProps.Builder)
.backupVaultName(backupVaultName)
.encryptionKeyArn(encryptionKeyArn.orNull)
.backupVaultTags(backupVaultTags.map(_.asJava).orNull)
.accessPolicy(accessPolicy.orNull)
.lockConfiguration(lockConfiguration.orNull)
.notifications(notifications.orNull)
.build()
}