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

com.pulumi.awsnative.cognito.kotlin.inputs.GetUserPoolUiCustomizationAttachmentPlainArgs.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import com.pulumi.awsnative.cognito.inputs.GetUserPoolUiCustomizationAttachmentPlainArgs.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 clientId The client ID for the client app. You can specify the UI customization settings for a single client (with a specific clientId) or for all clients (by setting the clientId to `ALL` ).
 * @property userPoolId The user pool ID for the user pool.
 */
public data class GetUserPoolUiCustomizationAttachmentPlainArgs(
    public val clientId: String,
    public val userPoolId: String,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.cognito.inputs.GetUserPoolUiCustomizationAttachmentPlainArgs =
        com.pulumi.awsnative.cognito.inputs.GetUserPoolUiCustomizationAttachmentPlainArgs.builder()
            .clientId(clientId.let({ args0 -> args0 }))
            .userPoolId(userPoolId.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetUserPoolUiCustomizationAttachmentPlainArgs].
 */
@PulumiTagMarker
public class GetUserPoolUiCustomizationAttachmentPlainArgsBuilder internal constructor() {
    private var clientId: String? = null

    private var userPoolId: String? = null

    /**
     * @param value The client ID for the client app. You can specify the UI customization settings for a single client (with a specific clientId) or for all clients (by setting the clientId to `ALL` ).
     */
    @JvmName("xakmsitjmxqxlodh")
    public suspend fun clientId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.clientId = mapped
    }

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

    internal fun build(): GetUserPoolUiCustomizationAttachmentPlainArgs =
        GetUserPoolUiCustomizationAttachmentPlainArgs(
            clientId = clientId ?: throw PulumiNullFieldException("clientId"),
            userPoolId = userPoolId ?: throw PulumiNullFieldException("userPoolId"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy