io.burkard.cdk.services.ecs.JsonFileLogDriverProps.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.ecs
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object JsonFileLogDriverProps {
def apply(
maxFile: Option[Number] = None,
tag: Option[String] = None,
labels: Option[List[String]] = None,
compress: Option[Boolean] = None,
envRegex: Option[String] = None,
maxSize: Option[String] = None,
env: Option[List[String]] = None
): software.amazon.awscdk.services.ecs.JsonFileLogDriverProps =
(new software.amazon.awscdk.services.ecs.JsonFileLogDriverProps.Builder)
.maxFile(maxFile.orNull)
.tag(tag.orNull)
.labels(labels.map(_.asJava).orNull)
.compress(compress.map(Boolean.box).orNull)
.envRegex(envRegex.orNull)
.maxSize(maxSize.orNull)
.env(env.map(_.asJava).orNull)
.build()
}