com.pulumi.aws.redshift.kotlin.inputs.GetServiceAccountPlainArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.redshift.kotlin.inputs
import com.pulumi.aws.redshift.inputs.GetServiceAccountPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* A collection of arguments for invoking getServiceAccount.
* @property region Name of the region whose AWS Redshift account ID is desired.
* Defaults to the region from the AWS provider configuration.
*/
public data class GetServiceAccountPlainArgs(
public val region: String? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.redshift.inputs.GetServiceAccountPlainArgs =
com.pulumi.aws.redshift.inputs.GetServiceAccountPlainArgs.builder()
.region(region?.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetServiceAccountPlainArgs].
*/
@PulumiTagMarker
public class GetServiceAccountPlainArgsBuilder internal constructor() {
private var region: String? = null
/**
* @param value Name of the region whose AWS Redshift account ID is desired.
* Defaults to the region from the AWS provider configuration.
*/
@JvmName("nrcexdvthsumdpxr")
public suspend fun region(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.region = mapped
}
internal fun build(): GetServiceAccountPlainArgs = GetServiceAccountPlainArgs(
region = region,
)
}