io.burkard.cdk.services.autoscaling.NetworkUtilizationScalingProps.scala Maven / Gradle / Ivy
package io.burkard.cdk.services.autoscaling
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object NetworkUtilizationScalingProps {
def apply(
disableScaleIn: Option[Boolean] = None,
targetBytesPerSecond: Option[Number] = None,
cooldown: Option[software.amazon.awscdk.Duration] = None,
estimatedInstanceWarmup: Option[software.amazon.awscdk.Duration] = None
): software.amazon.awscdk.services.autoscaling.NetworkUtilizationScalingProps =
(new software.amazon.awscdk.services.autoscaling.NetworkUtilizationScalingProps.Builder)
.disableScaleIn(disableScaleIn.map(Boolean.box).getOrElse(java.lang.Boolean.FALSE))
.targetBytesPerSecond(targetBytesPerSecond.orNull)
.cooldown(cooldown.orNull)
.estimatedInstanceWarmup(estimatedInstanceWarmup.orNull)
.build()
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy