io.burkard.cdk.CfnParameterProps.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnParameterProps {
def apply(
noEcho: Option[Boolean] = None,
constraintDescription: Option[String] = None,
description: Option[String] = None,
allowedValues: Option[List[String]] = None,
minValue: Option[Number] = None,
minLength: Option[Number] = None,
maxValue: Option[Number] = None,
`type`: Option[String] = None,
defaultValue: Option[AnyRef] = None,
maxLength: Option[Number] = None,
allowedPattern: Option[String] = None
): software.amazon.awscdk.CfnParameterProps =
(new software.amazon.awscdk.CfnParameterProps.Builder)
.noEcho(noEcho.map(Boolean.box).orNull)
.constraintDescription(constraintDescription.orNull)
.description(description.orNull)
.allowedValues(allowedValues.map(_.asJava).orNull)
.minValue(minValue.orNull)
.minLength(minLength.orNull)
.maxValue(maxValue.orNull)
.`type`(`type`.orNull)
.defaultValue(defaultValue.orNull)
.maxLength(maxLength.orNull)
.allowedPattern(allowedPattern.orNull)
.build()
}