
com.pulumi.awsnative.resourceexplorer2.kotlin.DefaultViewAssociationArgs.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.resourceexplorer2.kotlin
import com.pulumi.awsnative.resourceexplorer2.DefaultViewAssociationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Definition of AWS::ResourceExplorer2::DefaultViewAssociation Resource Type
* @property viewArn The ARN of the view to set as the default for the AWS Region and AWS account in which you call this operation. The specified view must already exist in the specified Region.
*/
public data class DefaultViewAssociationArgs(
public val viewArn: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.resourceexplorer2.DefaultViewAssociationArgs =
com.pulumi.awsnative.resourceexplorer2.DefaultViewAssociationArgs.builder()
.viewArn(viewArn?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DefaultViewAssociationArgs].
*/
@PulumiTagMarker
public class DefaultViewAssociationArgsBuilder internal constructor() {
private var viewArn: Output? = null
/**
* @param value The ARN of the view to set as the default for the AWS Region and AWS account in which you call this operation. The specified view must already exist in the specified Region.
*/
@JvmName("celroobqdqjpwjdl")
public suspend fun viewArn(`value`: Output) {
this.viewArn = value
}
/**
* @param value The ARN of the view to set as the default for the AWS Region and AWS account in which you call this operation. The specified view must already exist in the specified Region.
*/
@JvmName("chuljtpdcbssxqbb")
public suspend fun viewArn(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.viewArn = mapped
}
internal fun build(): DefaultViewAssociationArgs = DefaultViewAssociationArgs(
viewArn = viewArn,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy