![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.redshift.kotlin.inputs.GetEndpointAuthorizationPlainArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.redshift.kotlin.inputs
import com.pulumi.awsnative.redshift.inputs.GetEndpointAuthorizationPlainArgs.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 account The target AWS account ID to grant or revoke access for.
* @property clusterIdentifier The cluster identifier.
*/
public data class GetEndpointAuthorizationPlainArgs(
public val account: String,
public val clusterIdentifier: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.redshift.inputs.GetEndpointAuthorizationPlainArgs =
com.pulumi.awsnative.redshift.inputs.GetEndpointAuthorizationPlainArgs.builder()
.account(account.let({ args0 -> args0 }))
.clusterIdentifier(clusterIdentifier.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetEndpointAuthorizationPlainArgs].
*/
@PulumiTagMarker
public class GetEndpointAuthorizationPlainArgsBuilder internal constructor() {
private var account: String? = null
private var clusterIdentifier: String? = null
/**
* @param value The target AWS account ID to grant or revoke access for.
*/
@JvmName("wuueukwvcuhwmoqa")
public suspend fun account(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.account = mapped
}
/**
* @param value The cluster identifier.
*/
@JvmName("wubedslfieelmjun")
public suspend fun clusterIdentifier(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.clusterIdentifier = mapped
}
internal fun build(): GetEndpointAuthorizationPlainArgs = GetEndpointAuthorizationPlainArgs(
account = account ?: throw PulumiNullFieldException("account"),
clusterIdentifier = clusterIdentifier ?: throw PulumiNullFieldException("clusterIdentifier"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy