zio.aws.amplifybackend.model.AdditionalConstraintsElement.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zio-aws-amplifybackend_3 Show documentation
Show all versions of zio-aws-amplifybackend_3 Show documentation
Low-level AWS wrapper for ZIO
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