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

io.burkard.cdk.services.cognito.StringAttributeProps.scala Maven / Gradle / Ivy

There is a newer version: 0.5.0
Show newest version
package io.burkard.cdk.services.cognito

@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object StringAttributeProps {

  def apply(
    mutable: Option[Boolean] = None,
    minLen: Option[Number] = None,
    maxLen: Option[Number] = None
  ): software.amazon.awscdk.services.cognito.StringAttributeProps =
    (new software.amazon.awscdk.services.cognito.StringAttributeProps.Builder)
      .mutable(mutable.map(Boolean.box).getOrElse(java.lang.Boolean.FALSE))
      .minLen(minLen.orNull)
      .maxLen(maxLen.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy