io.burkard.cdk.services.ecs.cfnTaskDefinition.DockerVolumeConfigurationProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.ecs.cfnTaskDefinition
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object DockerVolumeConfigurationProperty {
def apply(
scope: Option[String] = None,
autoprovision: Option[Boolean] = None,
driver: Option[String] = None,
labels: Option[Map[String, String]] = None,
driverOpts: Option[Map[String, String]] = None
): software.amazon.awscdk.services.ecs.CfnTaskDefinition.DockerVolumeConfigurationProperty =
(new software.amazon.awscdk.services.ecs.CfnTaskDefinition.DockerVolumeConfigurationProperty.Builder)
.scope(scope.orNull)
.autoprovision(autoprovision.map(Boolean.box).orNull)
.driver(driver.orNull)
.labels(labels.map(_.asJava).orNull)
.driverOpts(driverOpts.map(_.asJava).orNull)
.build()
}