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

io.burkard.cdk.services.kafkaconnect.cfnConnector.AutoScalingProperty.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.kafkaconnect.cfnConnector

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

  def apply(
    mcuCount: Number,
    maxWorkerCount: Number,
    scaleInPolicy: software.amazon.awscdk.services.kafkaconnect.CfnConnector.ScaleInPolicyProperty,
    minWorkerCount: Number,
    scaleOutPolicy: software.amazon.awscdk.services.kafkaconnect.CfnConnector.ScaleOutPolicyProperty
  ): software.amazon.awscdk.services.kafkaconnect.CfnConnector.AutoScalingProperty =
    (new software.amazon.awscdk.services.kafkaconnect.CfnConnector.AutoScalingProperty.Builder)
      .mcuCount(mcuCount)
      .maxWorkerCount(maxWorkerCount)
      .scaleInPolicy(scaleInPolicy)
      .minWorkerCount(minWorkerCount)
      .scaleOutPolicy(scaleOutPolicy)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy