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

io.burkard.cdk.services.ecs.FluentdLogDriverProps.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 FluentdLogDriverProps {

  def apply(
    subSecondPrecision: Option[Boolean] = None,
    tag: Option[String] = None,
    labels: Option[List[String]] = None,
    maxRetries: Option[Number] = None,
    asyncConnect: Option[Boolean] = None,
    envRegex: Option[String] = None,
    address: Option[String] = None,
    retryWait: Option[software.amazon.awscdk.Duration] = None,
    env: Option[List[String]] = None,
    bufferLimit: Option[Number] = None
  ): software.amazon.awscdk.services.ecs.FluentdLogDriverProps =
    (new software.amazon.awscdk.services.ecs.FluentdLogDriverProps.Builder)
      .subSecondPrecision(subSecondPrecision.map(Boolean.box).orNull)
      .tag(tag.orNull)
      .labels(labels.map(_.asJava).orNull)
      .maxRetries(maxRetries.orNull)
      .asyncConnect(asyncConnect.map(Boolean.box).orNull)
      .envRegex(envRegex.orNull)
      .address(address.orNull)
      .retryWait(retryWait.orNull)
      .env(env.map(_.asJava).orNull)
      .bufferLimit(bufferLimit.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy