io.burkard.cdk.services.emrserverless.cfnApplication.AutoStopConfigurationProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.emrserverless.cfnApplication
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object AutoStopConfigurationProperty {
def apply(
enabled: Option[Boolean] = None,
idleTimeoutMinutes: Option[Number] = None
): software.amazon.awscdk.services.emrserverless.CfnApplication.AutoStopConfigurationProperty =
(new software.amazon.awscdk.services.emrserverless.CfnApplication.AutoStopConfigurationProperty.Builder)
.enabled(enabled.map(Boolean.box).orNull)
.idleTimeoutMinutes(idleTimeoutMinutes.orNull)
.build()
}