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

io.burkard.cdk.services.cognito.StandardAttributes.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 StandardAttributes {

  def apply(
    familyName: Option[software.amazon.awscdk.services.cognito.StandardAttribute] = None,
    website: Option[software.amazon.awscdk.services.cognito.StandardAttribute] = None,
    givenName: Option[software.amazon.awscdk.services.cognito.StandardAttribute] = None,
    phoneNumber: Option[software.amazon.awscdk.services.cognito.StandardAttribute] = None,
    middleName: Option[software.amazon.awscdk.services.cognito.StandardAttribute] = None,
    email: Option[software.amazon.awscdk.services.cognito.StandardAttribute] = None,
    lastUpdateTime: Option[software.amazon.awscdk.services.cognito.StandardAttribute] = None,
    timezone: Option[software.amazon.awscdk.services.cognito.StandardAttribute] = None,
    profilePicture: Option[software.amazon.awscdk.services.cognito.StandardAttribute] = None,
    locale: Option[software.amazon.awscdk.services.cognito.StandardAttribute] = None,
    birthdate: Option[software.amazon.awscdk.services.cognito.StandardAttribute] = None,
    fullname: Option[software.amazon.awscdk.services.cognito.StandardAttribute] = None,
    profilePage: Option[software.amazon.awscdk.services.cognito.StandardAttribute] = None,
    address: Option[software.amazon.awscdk.services.cognito.StandardAttribute] = None,
    preferredUsername: Option[software.amazon.awscdk.services.cognito.StandardAttribute] = None,
    gender: Option[software.amazon.awscdk.services.cognito.StandardAttribute] = None,
    nickname: Option[software.amazon.awscdk.services.cognito.StandardAttribute] = None
  ): software.amazon.awscdk.services.cognito.StandardAttributes =
    (new software.amazon.awscdk.services.cognito.StandardAttributes.Builder)
      .familyName(familyName.orNull)
      .website(website.orNull)
      .givenName(givenName.orNull)
      .phoneNumber(phoneNumber.orNull)
      .middleName(middleName.orNull)
      .email(email.orNull)
      .lastUpdateTime(lastUpdateTime.orNull)
      .timezone(timezone.orNull)
      .profilePicture(profilePicture.orNull)
      .locale(locale.orNull)
      .birthdate(birthdate.orNull)
      .fullname(fullname.orNull)
      .profilePage(profilePage.orNull)
      .address(address.orNull)
      .preferredUsername(preferredUsername.orNull)
      .gender(gender.orNull)
      .nickname(nickname.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy