io.burkard.cdk.services.dlm.cfnLifecyclePolicy.RetainRuleProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.dlm.cfnLifecyclePolicy
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object RetainRuleProperty {
def apply(
count: Option[Number] = None,
interval: Option[Number] = None,
intervalUnit: Option[String] = None
): software.amazon.awscdk.services.dlm.CfnLifecyclePolicy.RetainRuleProperty =
(new software.amazon.awscdk.services.dlm.CfnLifecyclePolicy.RetainRuleProperty.Builder)
.count(count.orNull)
.interval(interval.orNull)
.intervalUnit(intervalUnit.orNull)
.build()
}