io.burkard.cdk.services.elasticloadbalancingv2.AddRuleProps.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.elasticloadbalancingv2
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object AddRuleProps {
def apply(
priority: Option[Number] = None,
conditions: Option[List[_ <: software.amazon.awscdk.services.elasticloadbalancingv2.ListenerCondition]] = None
): software.amazon.awscdk.services.elasticloadbalancingv2.AddRuleProps =
(new software.amazon.awscdk.services.elasticloadbalancingv2.AddRuleProps.Builder)
.priority(priority.orNull)
.conditions(conditions.map(_.asJava).orNull)
.build()
}