io.burkard.cdk.services.dlm.cfnLifecyclePolicy.CrossRegionCopyActionProperty.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 CrossRegionCopyActionProperty {
def apply(
target: String,
encryptionConfiguration: software.amazon.awscdk.services.dlm.CfnLifecyclePolicy.EncryptionConfigurationProperty,
retainRule: Option[software.amazon.awscdk.services.dlm.CfnLifecyclePolicy.CrossRegionCopyRetainRuleProperty] = None
): software.amazon.awscdk.services.dlm.CfnLifecyclePolicy.CrossRegionCopyActionProperty =
(new software.amazon.awscdk.services.dlm.CfnLifecyclePolicy.CrossRegionCopyActionProperty.Builder)
.target(target)
.encryptionConfiguration(encryptionConfiguration)
.retainRule(retainRule.orNull)
.build()
}