io.burkard.cdk.services.cognito.KeepOriginalAttrs.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.cognito
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object KeepOriginalAttrs {
def apply(
email: Option[Boolean] = None,
phone: Option[Boolean] = None
): software.amazon.awscdk.services.cognito.KeepOriginalAttrs =
(new software.amazon.awscdk.services.cognito.KeepOriginalAttrs.Builder)
.email(email.map(Boolean.box).orNull)
.phone(phone.map(Boolean.box).orNull)
.build()
}