io.burkard.cdk.services.dlm.cfnLifecyclePolicy.FastRestoreRuleProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.dlm.cfnLifecyclePolicy
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object FastRestoreRuleProperty {
def apply(
count: Option[Number] = None,
interval: Option[Number] = None,
availabilityZones: Option[List[String]] = None,
intervalUnit: Option[String] = None
): software.amazon.awscdk.services.dlm.CfnLifecyclePolicy.FastRestoreRuleProperty =
(new software.amazon.awscdk.services.dlm.CfnLifecyclePolicy.FastRestoreRuleProperty.Builder)
.count(count.orNull)
.interval(interval.orNull)
.availabilityZones(availabilityZones.map(_.asJava).orNull)
.intervalUnit(intervalUnit.orNull)
.build()
}