com.pulumi.awsnative.quicksight.kotlin.inputs.GetAnalysisPlainArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.inputs
import com.pulumi.awsnative.quicksight.inputs.GetAnalysisPlainArgs.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 analysisId The ID for the analysis that you're creating. This ID displays in the URL of the analysis.
* @property awsAccountId The ID of the AWS account where you are creating an analysis.
*/
public data class GetAnalysisPlainArgs(
public val analysisId: String,
public val awsAccountId: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.GetAnalysisPlainArgs =
com.pulumi.awsnative.quicksight.inputs.GetAnalysisPlainArgs.builder()
.analysisId(analysisId.let({ args0 -> args0 }))
.awsAccountId(awsAccountId.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetAnalysisPlainArgs].
*/
@PulumiTagMarker
public class GetAnalysisPlainArgsBuilder internal constructor() {
private var analysisId: String? = null
private var awsAccountId: String? = null
/**
* @param value The ID for the analysis that you're creating. This ID displays in the URL of the analysis.
*/
@JvmName("yxeereetkosfmsrc")
public suspend fun analysisId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.analysisId = mapped
}
/**
* @param value The ID of the AWS account where you are creating an analysis.
*/
@JvmName("affobcpnyjtkchoh")
public suspend fun awsAccountId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.awsAccountId = mapped
}
internal fun build(): GetAnalysisPlainArgs = GetAnalysisPlainArgs(
analysisId = analysisId ?: throw PulumiNullFieldException("analysisId"),
awsAccountId = awsAccountId ?: throw PulumiNullFieldException("awsAccountId"),
)
}