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

io.burkard.cdk.services.autoscaling.PredictiveScalingMetricSpecificationProperty.scala Maven / Gradle / Ivy

There is a newer version: 0.5.0
Show newest version
package io.burkard.cdk.services.autoscaling

@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object PredictiveScalingMetricSpecificationProperty {

  def apply(
    predefinedScalingMetricSpecification: Option[software.amazon.awscdk.services.autoscaling.CfnScalingPolicy.PredictiveScalingPredefinedScalingMetricProperty] = None,
    predefinedLoadMetricSpecification: Option[software.amazon.awscdk.services.autoscaling.CfnScalingPolicy.PredictiveScalingPredefinedLoadMetricProperty] = None,
    predefinedMetricPairSpecification: Option[software.amazon.awscdk.services.autoscaling.CfnScalingPolicy.PredictiveScalingPredefinedMetricPairProperty] = None,
    targetValue: Option[Number] = None
  ): software.amazon.awscdk.services.autoscaling.CfnScalingPolicy.PredictiveScalingMetricSpecificationProperty =
    (new software.amazon.awscdk.services.autoscaling.CfnScalingPolicy.PredictiveScalingMetricSpecificationProperty.Builder)
      .predefinedScalingMetricSpecification(predefinedScalingMetricSpecification.orNull)
      .predefinedLoadMetricSpecification(predefinedLoadMetricSpecification.orNull)
      .predefinedMetricPairSpecification(predefinedMetricPairSpecification.orNull)
      .targetValue(targetValue.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy