io.burkard.cdk.services.secretsmanager.cfnRotationSchedule.RotationRulesProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.secretsmanager.cfnRotationSchedule
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object RotationRulesProperty {
def apply(
duration: Option[String] = None,
scheduleExpression: Option[String] = None,
automaticallyAfterDays: Option[Number] = None
): software.amazon.awscdk.services.secretsmanager.CfnRotationSchedule.RotationRulesProperty =
(new software.amazon.awscdk.services.secretsmanager.CfnRotationSchedule.RotationRulesProperty.Builder)
.duration(duration.orNull)
.scheduleExpression(scheduleExpression.orNull)
.automaticallyAfterDays(automaticallyAfterDays.orNull)
.build()
}