
com.pulumi.googlenative.storage.v1.kotlin.HmacKeyArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-google-native-kotlin Show documentation
Show all versions of pulumi-google-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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.storage.v1.kotlin
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.storage.v1.HmacKeyArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Creates a new HMAC key for the specified service account.
* Auto-naming is currently not supported for this resource.
* @property project
* @property serviceAccountEmail Email address of the service account.
* @property userProject The project to be billed for this request.
*/
public data class HmacKeyArgs(
public val project: Output? = null,
public val serviceAccountEmail: Output? = null,
public val userProject: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.storage.v1.HmacKeyArgs =
com.pulumi.googlenative.storage.v1.HmacKeyArgs.builder()
.project(project?.applyValue({ args0 -> args0 }))
.serviceAccountEmail(serviceAccountEmail?.applyValue({ args0 -> args0 }))
.userProject(userProject?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [HmacKeyArgs].
*/
@PulumiTagMarker
public class HmacKeyArgsBuilder internal constructor() {
private var project: Output? = null
private var serviceAccountEmail: Output? = null
private var userProject: Output? = null
/**
* @param value
*/
@JvmName("rnyjtxgtnwcksgjg")
public suspend fun project(`value`: Output) {
this.project = value
}
/**
* @param value Email address of the service account.
*/
@JvmName("gtisspeqrwivsdge")
public suspend fun serviceAccountEmail(`value`: Output) {
this.serviceAccountEmail = value
}
/**
* @param value The project to be billed for this request.
*/
@JvmName("gqrxfuprfbnrknig")
public suspend fun userProject(`value`: Output) {
this.userProject = value
}
/**
* @param value
*/
@JvmName("ywnnslxomkrcyrca")
public suspend fun project(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.project = mapped
}
/**
* @param value Email address of the service account.
*/
@JvmName("bcvxagiwjigfadtj")
public suspend fun serviceAccountEmail(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.serviceAccountEmail = mapped
}
/**
* @param value The project to be billed for this request.
*/
@JvmName("sqrmtofrmbjhctht")
public suspend fun userProject(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.userProject = mapped
}
internal fun build(): HmacKeyArgs = HmacKeyArgs(
project = project,
serviceAccountEmail = serviceAccountEmail,
userProject = userProject,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy