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

zio.aws.amplifybackend.model.AdditionalConstraintsElement.scala Maven / Gradle / Ivy

There is a newer version: 7.28.29.10
Show newest version
package zio.aws.amplifybackend.model
import scala.jdk.CollectionConverters.*
sealed trait AdditionalConstraintsElement {
  def unwrap: software.amazon.awssdk.services.amplifybackend.model.AdditionalConstraintsElement
}
object AdditionalConstraintsElement {
  def wrap(
      value: software.amazon.awssdk.services.amplifybackend.model.AdditionalConstraintsElement
  ): zio.aws.amplifybackend.model.AdditionalConstraintsElement = value match {
    case software.amazon.awssdk.services.amplifybackend.model.AdditionalConstraintsElement.UNKNOWN_TO_SDK_VERSION =>
      val r = unknownToSdkVersion
      r
    case software.amazon.awssdk.services.amplifybackend.model.AdditionalConstraintsElement.REQUIRE_DIGIT =>
      val r = REQUIRE_DIGIT
      r
    case software.amazon.awssdk.services.amplifybackend.model.AdditionalConstraintsElement.REQUIRE_LOWERCASE =>
      val r = REQUIRE_LOWERCASE
      r
    case software.amazon.awssdk.services.amplifybackend.model.AdditionalConstraintsElement.REQUIRE_SYMBOL =>
      val r = REQUIRE_SYMBOL
      r
    case software.amazon.awssdk.services.amplifybackend.model.AdditionalConstraintsElement.REQUIRE_UPPERCASE =>
      val r = REQUIRE_UPPERCASE
      r
  }
  case object unknownToSdkVersion
      extends zio.aws.amplifybackend.model.AdditionalConstraintsElement {
    override def unwrap
        : software.amazon.awssdk.services.amplifybackend.model.AdditionalConstraintsElement =
      software.amazon.awssdk.services.amplifybackend.model.AdditionalConstraintsElement.UNKNOWN_TO_SDK_VERSION
  }
  case object REQUIRE_DIGIT
      extends zio.aws.amplifybackend.model.AdditionalConstraintsElement {
    override def unwrap
        : software.amazon.awssdk.services.amplifybackend.model.AdditionalConstraintsElement =
      software.amazon.awssdk.services.amplifybackend.model.AdditionalConstraintsElement.REQUIRE_DIGIT
  }
  case object REQUIRE_LOWERCASE
      extends zio.aws.amplifybackend.model.AdditionalConstraintsElement {
    override def unwrap
        : software.amazon.awssdk.services.amplifybackend.model.AdditionalConstraintsElement =
      software.amazon.awssdk.services.amplifybackend.model.AdditionalConstraintsElement.REQUIRE_LOWERCASE
  }
  case object REQUIRE_SYMBOL
      extends zio.aws.amplifybackend.model.AdditionalConstraintsElement {
    override def unwrap
        : software.amazon.awssdk.services.amplifybackend.model.AdditionalConstraintsElement =
      software.amazon.awssdk.services.amplifybackend.model.AdditionalConstraintsElement.REQUIRE_SYMBOL
  }
  case object REQUIRE_UPPERCASE
      extends zio.aws.amplifybackend.model.AdditionalConstraintsElement {
    override def unwrap
        : software.amazon.awssdk.services.amplifybackend.model.AdditionalConstraintsElement =
      software.amazon.awssdk.services.amplifybackend.model.AdditionalConstraintsElement.REQUIRE_UPPERCASE
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy