com.pulumi.gcp.bigquery.kotlin.inputs.DataTransferConfigSensitiveParamsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.bigquery.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.bigquery.inputs.DataTransferConfigSensitiveParamsArgs.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 secretAccessKey The Secret Access Key of the AWS account transferring data from.
* **Note**: This property is sensitive and will not be displayed in the plan.
*/
public data class DataTransferConfigSensitiveParamsArgs(
public val secretAccessKey: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.bigquery.inputs.DataTransferConfigSensitiveParamsArgs =
com.pulumi.gcp.bigquery.inputs.DataTransferConfigSensitiveParamsArgs.builder()
.secretAccessKey(secretAccessKey.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DataTransferConfigSensitiveParamsArgs].
*/
@PulumiTagMarker
public class DataTransferConfigSensitiveParamsArgsBuilder internal constructor() {
private var secretAccessKey: Output? = null
/**
* @param value The Secret Access Key of the AWS account transferring data from.
* **Note**: This property is sensitive and will not be displayed in the plan.
*/
@JvmName("kgkggxlopcwlexwb")
public suspend fun secretAccessKey(`value`: Output) {
this.secretAccessKey = value
}
/**
* @param value The Secret Access Key of the AWS account transferring data from.
* **Note**: This property is sensitive and will not be displayed in the plan.
*/
@JvmName("xjehwxiqryqevdly")
public suspend fun secretAccessKey(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.secretAccessKey = mapped
}
internal fun build(): DataTransferConfigSensitiveParamsArgs =
DataTransferConfigSensitiveParamsArgs(
secretAccessKey = secretAccessKey ?: throw PulumiNullFieldException("secretAccessKey"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy