io.burkard.cdk.services.cognito.cfnUserPool.SchemaAttributeProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.cognito.cfnUserPool
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object SchemaAttributeProperty {
def apply(
name: Option[String] = None,
mutable: Option[Boolean] = None,
stringAttributeConstraints: Option[software.amazon.awscdk.services.cognito.CfnUserPool.StringAttributeConstraintsProperty] = None,
developerOnlyAttribute: Option[Boolean] = None,
required: Option[Boolean] = None,
attributeDataType: Option[String] = None,
numberAttributeConstraints: Option[software.amazon.awscdk.services.cognito.CfnUserPool.NumberAttributeConstraintsProperty] = None
): software.amazon.awscdk.services.cognito.CfnUserPool.SchemaAttributeProperty =
(new software.amazon.awscdk.services.cognito.CfnUserPool.SchemaAttributeProperty.Builder)
.name(name.orNull)
.mutable(mutable.map(Boolean.box).orNull)
.stringAttributeConstraints(stringAttributeConstraints.orNull)
.developerOnlyAttribute(developerOnlyAttribute.map(Boolean.box).orNull)
.required(required.map(Boolean.box).orNull)
.attributeDataType(attributeDataType.orNull)
.numberAttributeConstraints(numberAttributeConstraints.orNull)
.build()
}