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

com.pulumi.aws.cognito.kotlin.inputs.UserPoolSchemaNumberAttributeConstraintsArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.cognito.kotlin.inputs

import com.pulumi.aws.cognito.inputs.UserPoolSchemaNumberAttributeConstraintsArgs.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 Maximum value of an attribute that is of the number data type.
 * @property minValue Minimum value of an attribute that is of the number data type.
 */
public data class UserPoolSchemaNumberAttributeConstraintsArgs(
    public val maxValue: Output? = null,
    public val minValue: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.cognito.inputs.UserPoolSchemaNumberAttributeConstraintsArgs = com.pulumi.aws.cognito.inputs.UserPoolSchemaNumberAttributeConstraintsArgs.builder()
        .maxValue(maxValue?.applyValue({ args0 -> args0 }))
        .minValue(minValue?.applyValue({ args0 -> args0 })).build()
}

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

    private var minValue: Output? = null

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

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

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy