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

com.pulumi.awsnative.cognito.kotlin.inputs.UserPoolNumberAttributeConstraintsArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.cognito.kotlin.inputs

import com.pulumi.awsnative.cognito.inputs.UserPoolNumberAttributeConstraintsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property maxValue The maximum length of a number attribute value. Must be a number less than or equal to `2^1023` , represented as a string with a length of 131072 characters or fewer.
 * @property minValue The minimum value of an attribute that is of the number data type.
 */
public data class UserPoolNumberAttributeConstraintsArgs(
    public val maxValue: Output? = null,
    public val minValue: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.cognito.inputs.UserPoolNumberAttributeConstraintsArgs = com.pulumi.awsnative.cognito.inputs.UserPoolNumberAttributeConstraintsArgs.builder()
        .maxValue(maxValue?.applyValue({ args0 -> args0 }))
        .minValue(minValue?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [UserPoolNumberAttributeConstraintsArgs].
 */
@PulumiTagMarker
public class UserPoolNumberAttributeConstraintsArgsBuilder internal constructor() {
    private var maxValue: Output? = null

    private var minValue: Output? = null

    /**
     * @param value The maximum length of a number attribute value. Must be a number less than or equal to `2^1023` , represented as a string with a length of 131072 characters or fewer.
     */
    @JvmName("vomhneclcslaufqw")
    public suspend fun maxValue(`value`: Output) {
        this.maxValue = value
    }

    /**
     * @param value The minimum value of an attribute that is of the number data type.
     */
    @JvmName("scybmnwypcvirwmp")
    public suspend fun minValue(`value`: Output) {
        this.minValue = value
    }

    /**
     * @param value The maximum length of a number attribute value. Must be a number less than or equal to `2^1023` , represented as a string with a length of 131072 characters or fewer.
     */
    @JvmName("ujlcpnpytxbqqhqe")
    public suspend fun maxValue(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.maxValue = mapped
    }

    /**
     * @param value The minimum value of an attribute that is of the number data type.
     */
    @JvmName("eyxqibxioiuajmck")
    public suspend fun minValue(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.minValue = mapped
    }

    internal fun build(): UserPoolNumberAttributeConstraintsArgs =
        UserPoolNumberAttributeConstraintsArgs(
            maxValue = maxValue,
            minValue = minValue,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy