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

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

The newest version!
package io.burkard.cdk.services.cognito

import scala.collection.JavaConverters._

@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnUserPoolUserProps {

  def apply(
    userPoolId: String,
    validationData: Option[List[_]] = None,
    messageAction: Option[String] = None,
    username: Option[String] = None,
    clientMetadata: Option[AnyRef] = None,
    userAttributes: Option[List[_]] = None,
    desiredDeliveryMediums: Option[List[String]] = None,
    forceAliasCreation: Option[Boolean] = None
  ): software.amazon.awscdk.services.cognito.CfnUserPoolUserProps =
    (new software.amazon.awscdk.services.cognito.CfnUserPoolUserProps.Builder)
      .userPoolId(userPoolId)
      .validationData(validationData.map(_.asJava).orNull)
      .messageAction(messageAction.orNull)
      .username(username.orNull)
      .clientMetadata(clientMetadata.orNull)
      .userAttributes(userAttributes.map(_.asJava).orNull)
      .desiredDeliveryMediums(desiredDeliveryMediums.map(_.asJava).orNull)
      .forceAliasCreation(forceAliasCreation.map(Boolean.box).orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy