io.burkard.cdk.services.backup.CfnBackupPlanProps.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 CfnBackupPlanProps {
def apply(
backupPlan: software.amazon.awscdk.services.backup.CfnBackupPlan.BackupPlanResourceTypeProperty,
backupPlanTags: Option[Map[String, String]] = None
): software.amazon.awscdk.services.backup.CfnBackupPlanProps =
(new software.amazon.awscdk.services.backup.CfnBackupPlanProps.Builder)
.backupPlan(backupPlan)
.backupPlanTags(backupPlanTags.map(_.asJava).orNull)
.build()
}