io.burkard.cdk.services.applicationautoscaling.CronOptions.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.applicationautoscaling
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CronOptions {
def apply(
minute: Option[String] = None,
year: Option[String] = None,
hour: Option[String] = None,
day: Option[String] = None,
weekDay: Option[String] = None,
month: Option[String] = None
): software.amazon.awscdk.services.applicationautoscaling.CronOptions =
(new software.amazon.awscdk.services.applicationautoscaling.CronOptions.Builder)
.minute(minute.orNull)
.year(year.orNull)
.hour(hour.orNull)
.day(day.orNull)
.weekDay(weekDay.orNull)
.month(month.orNull)
.build()
}