io.burkard.cdk.services.s3.cfnBucket.DefaultRetentionProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.s3.cfnBucket
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object DefaultRetentionProperty {
def apply(
mode: Option[String] = None,
days: Option[Number] = None,
years: Option[Number] = None
): software.amazon.awscdk.services.s3.CfnBucket.DefaultRetentionProperty =
(new software.amazon.awscdk.services.s3.CfnBucket.DefaultRetentionProperty.Builder)
.mode(mode.orNull)
.days(days.orNull)
.years(years.orNull)
.build()
}