io.burkard.cdk.services.dlm.CfnLifecyclePolicyProps.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.dlm
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnLifecyclePolicyProps {
def apply(
state: Option[String] = None,
description: Option[String] = None,
tags: Option[List[_ <: software.amazon.awscdk.CfnTag]] = None,
executionRoleArn: Option[String] = None,
policyDetails: Option[software.amazon.awscdk.services.dlm.CfnLifecyclePolicy.PolicyDetailsProperty] = None
): software.amazon.awscdk.services.dlm.CfnLifecyclePolicyProps =
(new software.amazon.awscdk.services.dlm.CfnLifecyclePolicyProps.Builder)
.state(state.orNull)
.description(description.orNull)
.tags(tags.map(_.asJava).orNull)
.executionRoleArn(executionRoleArn.orNull)
.policyDetails(policyDetails.orNull)
.build()
}