
com.pulumi.googlenative.apigee.v1.kotlin.EnvgroupAttachmentArgs.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.apigee.v1.kotlin
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.apigee.v1.EnvgroupAttachmentArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Creates a new attachment of an environment to an environment group.
* @property envgroupId
* @property environment ID of the attached environment.
* @property name ID of the environment group attachment.
* @property organizationId
*/
public data class EnvgroupAttachmentArgs(
public val envgroupId: Output? = null,
public val environment: Output? = null,
public val name: Output? = null,
public val organizationId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.apigee.v1.EnvgroupAttachmentArgs =
com.pulumi.googlenative.apigee.v1.EnvgroupAttachmentArgs.builder()
.envgroupId(envgroupId?.applyValue({ args0 -> args0 }))
.environment(environment?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.organizationId(organizationId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [EnvgroupAttachmentArgs].
*/
@PulumiTagMarker
public class EnvgroupAttachmentArgsBuilder internal constructor() {
private var envgroupId: Output? = null
private var environment: Output? = null
private var name: Output? = null
private var organizationId: Output? = null
/**
* @param value
*/
@JvmName("xoiiqkkiptypbmor")
public suspend fun envgroupId(`value`: Output) {
this.envgroupId = value
}
/**
* @param value ID of the attached environment.
*/
@JvmName("wiwaijmvppahwdrm")
public suspend fun environment(`value`: Output) {
this.environment = value
}
/**
* @param value ID of the environment group attachment.
*/
@JvmName("tlrjtuvcfpyhekmu")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value
*/
@JvmName("fpyhcrdjawnuawej")
public suspend fun organizationId(`value`: Output) {
this.organizationId = value
}
/**
* @param value
*/
@JvmName("wqvorxeqgwkreafg")
public suspend fun envgroupId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.envgroupId = mapped
}
/**
* @param value ID of the attached environment.
*/
@JvmName("dodkkorrtawscieg")
public suspend fun environment(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.environment = mapped
}
/**
* @param value ID of the environment group attachment.
*/
@JvmName("qnufwrcmgjvrlras")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value
*/
@JvmName("foikjkeldujltelp")
public suspend fun organizationId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.organizationId = mapped
}
internal fun build(): EnvgroupAttachmentArgs = EnvgroupAttachmentArgs(
envgroupId = envgroupId,
environment = environment,
name = name,
organizationId = organizationId,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy