io.burkard.cdk.services.emr.cfnCluster.SimpleScalingPolicyConfigurationProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.emr.cfnCluster
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object SimpleScalingPolicyConfigurationProperty {
def apply(
scalingAdjustment: Number,
adjustmentType: Option[String] = None,
coolDown: Option[Number] = None
): software.amazon.awscdk.services.emr.CfnCluster.SimpleScalingPolicyConfigurationProperty =
(new software.amazon.awscdk.services.emr.CfnCluster.SimpleScalingPolicyConfigurationProperty.Builder)
.scalingAdjustment(scalingAdjustment)
.adjustmentType(adjustmentType.orNull)
.coolDown(coolDown.orNull)
.build()
}