com.pulumi.gcp.storage.kotlin.inputs.TransferJobTransferSpecAwsS3DataSourceAwsAccessKeyArgs.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.storage.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.storage.inputs.TransferJobTransferSpecAwsS3DataSourceAwsAccessKeyArgs.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 accessKeyId AWS Key ID.
* @property secretAccessKey AWS Secret Access Key.
*/
public data class TransferJobTransferSpecAwsS3DataSourceAwsAccessKeyArgs(
public val accessKeyId: Output,
public val secretAccessKey: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.storage.inputs.TransferJobTransferSpecAwsS3DataSourceAwsAccessKeyArgs =
com.pulumi.gcp.storage.inputs.TransferJobTransferSpecAwsS3DataSourceAwsAccessKeyArgs.builder()
.accessKeyId(accessKeyId.applyValue({ args0 -> args0 }))
.secretAccessKey(secretAccessKey.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [TransferJobTransferSpecAwsS3DataSourceAwsAccessKeyArgs].
*/
@PulumiTagMarker
public class TransferJobTransferSpecAwsS3DataSourceAwsAccessKeyArgsBuilder internal constructor() {
private var accessKeyId: Output? = null
private var secretAccessKey: Output? = null
/**
* @param value AWS Key ID.
*/
@JvmName("veaeqyjwysoyembf")
public suspend fun accessKeyId(`value`: Output) {
this.accessKeyId = value
}
/**
* @param value AWS Secret Access Key.
*/
@JvmName("ypqktsxfkpwpvsth")
public suspend fun secretAccessKey(`value`: Output) {
this.secretAccessKey = value
}
/**
* @param value AWS Key ID.
*/
@JvmName("dgowvjsdvkdkobnr")
public suspend fun accessKeyId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.accessKeyId = mapped
}
/**
* @param value AWS Secret Access Key.
*/
@JvmName("lfjbimricoomkfsu")
public suspend fun secretAccessKey(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.secretAccessKey = mapped
}
internal fun build(): TransferJobTransferSpecAwsS3DataSourceAwsAccessKeyArgs =
TransferJobTransferSpecAwsS3DataSourceAwsAccessKeyArgs(
accessKeyId = accessKeyId ?: throw PulumiNullFieldException("accessKeyId"),
secretAccessKey = secretAccessKey ?: throw PulumiNullFieldException("secretAccessKey"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy