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

com.pulumi.awsnative.quicksight.kotlin.inputs.GetTemplatePlainArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.quicksight.kotlin.inputs

import com.pulumi.awsnative.quicksight.inputs.GetTemplatePlainArgs.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 awsAccountId The ID for the AWS account that the group is in. You use the ID for the AWS account that contains your Amazon QuickSight account.
 * @property templateId An ID for the template that you want to create. This template is unique per AWS Region ; in each AWS account.
 */
public data class GetTemplatePlainArgs(
    public val awsAccountId: String,
    public val templateId: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.GetTemplatePlainArgs =
        com.pulumi.awsnative.quicksight.inputs.GetTemplatePlainArgs.builder()
            .awsAccountId(awsAccountId.let({ args0 -> args0 }))
            .templateId(templateId.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetTemplatePlainArgs].
 */
@PulumiTagMarker
public class GetTemplatePlainArgsBuilder internal constructor() {
    private var awsAccountId: String? = null

    private var templateId: String? = null

    /**
     * @param value The ID for the AWS account that the group is in. You use the ID for the AWS account that contains your Amazon QuickSight account.
     */
    @JvmName("tbmgwhvmffjlvvbr")
    public suspend fun awsAccountId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.awsAccountId = mapped
    }

    /**
     * @param value An ID for the template that you want to create. This template is unique per AWS Region ; in each AWS account.
     */
    @JvmName("ojwjmijlbsrvwcah")
    public suspend fun templateId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.templateId = mapped
    }

    internal fun build(): GetTemplatePlainArgs = GetTemplatePlainArgs(
        awsAccountId = awsAccountId ?: throw PulumiNullFieldException("awsAccountId"),
        templateId = templateId ?: throw PulumiNullFieldException("templateId"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy