All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.burkard.cdk.services.applicationautoscaling.cfnScalingPolicy.StepScalingPolicyConfigurationProperty.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.applicationautoscaling.cfnScalingPolicy

import scala.collection.JavaConverters._

@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object StepScalingPolicyConfigurationProperty {

  def apply(
    stepAdjustments: Option[List[_]] = None,
    minAdjustmentMagnitude: Option[Number] = None,
    metricAggregationType: Option[String] = None,
    cooldown: Option[Number] = None,
    adjustmentType: Option[String] = None
  ): software.amazon.awscdk.services.applicationautoscaling.CfnScalingPolicy.StepScalingPolicyConfigurationProperty =
    (new software.amazon.awscdk.services.applicationautoscaling.CfnScalingPolicy.StepScalingPolicyConfigurationProperty.Builder)
      .stepAdjustments(stepAdjustments.map(_.asJava).orNull)
      .minAdjustmentMagnitude(minAdjustmentMagnitude.orNull)
      .metricAggregationType(metricAggregationType.orNull)
      .cooldown(cooldown.orNull)
      .adjustmentType(adjustmentType.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy