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

com.pulumi.awsnative.cognito.kotlin.outputs.UserPoolRecoveryOption.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.cognito.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property name Specifies the recovery method for a user.
 * @property priority A positive integer specifying priority of a method with 1 being the highest priority.
 */
public data class UserPoolRecoveryOption(
    public val name: String? = null,
    public val priority: Int? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.cognito.outputs.UserPoolRecoveryOption): UserPoolRecoveryOption = UserPoolRecoveryOption(
            name = javaType.name().map({ args0 -> args0 }).orElse(null),
            priority = javaType.priority().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy