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

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

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

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

import com.pulumi.awsnative.cognito.inputs.GetUserPoolResourceServerPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property identifier A unique resource server identifier for the resource server. This could be an HTTPS endpoint where the resource server is located. For example: `https://my-weather-api.example.com` .
 * @property userPoolId The user pool ID for the user pool.
 */
public data class GetUserPoolResourceServerPlainArgs(
    public val identifier: String,
    public val userPoolId: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.cognito.inputs.GetUserPoolResourceServerPlainArgs =
        com.pulumi.awsnative.cognito.inputs.GetUserPoolResourceServerPlainArgs.builder()
            .identifier(identifier.let({ args0 -> args0 }))
            .userPoolId(userPoolId.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetUserPoolResourceServerPlainArgs].
 */
@PulumiTagMarker
public class GetUserPoolResourceServerPlainArgsBuilder internal constructor() {
    private var identifier: String? = null

    private var userPoolId: String? = null

    /**
     * @param value A unique resource server identifier for the resource server. This could be an HTTPS endpoint where the resource server is located. For example: `https://my-weather-api.example.com` .
     */
    @JvmName("siyihnjwyjtjioti")
    public suspend fun identifier(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.identifier = mapped
    }

    /**
     * @param value The user pool ID for the user pool.
     */
    @JvmName("mcxntowbvtosjwep")
    public suspend fun userPoolId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.userPoolId = mapped
    }

    internal fun build(): GetUserPoolResourceServerPlainArgs = GetUserPoolResourceServerPlainArgs(
        identifier = identifier ?: throw PulumiNullFieldException("identifier"),
        userPoolId = userPoolId ?: throw PulumiNullFieldException("userPoolId"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy