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

io.burkard.cdk.services.cloudformation.cfnStackSet.OperationPreferencesProperty.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.cloudformation.cfnStackSet

import scala.collection.JavaConverters._

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

  def apply(
    regionConcurrencyType: Option[String] = None,
    maxConcurrentCount: Option[Number] = None,
    failureToleranceCount: Option[Number] = None,
    maxConcurrentPercentage: Option[Number] = None,
    failureTolerancePercentage: Option[Number] = None,
    regionOrder: Option[List[String]] = None
  ): software.amazon.awscdk.services.cloudformation.CfnStackSet.OperationPreferencesProperty =
    (new software.amazon.awscdk.services.cloudformation.CfnStackSet.OperationPreferencesProperty.Builder)
      .regionConcurrencyType(regionConcurrencyType.orNull)
      .maxConcurrentCount(maxConcurrentCount.orNull)
      .failureToleranceCount(failureToleranceCount.orNull)
      .maxConcurrentPercentage(maxConcurrentPercentage.orNull)
      .failureTolerancePercentage(failureTolerancePercentage.orNull)
      .regionOrder(regionOrder.map(_.asJava).orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy