io.burkard.cdk.services.autoscaling.PredictiveScalingMetricSpecificationProperty.scala Maven / Gradle / Ivy
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