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