com.pulumi.gcp.organizations.kotlin.inputs.GetOrganizationPlainArgs.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.organizations.kotlin.inputs
import com.pulumi.gcp.organizations.inputs.GetOrganizationPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* A collection of arguments for invoking getOrganization.
* @property domain The domain name of the Organization.
* > **NOTE:** One of `organization` or `domain` must be specified.
* @property organization The Organization's numeric ID, including an optional `organizations/` prefix.
*/
public data class GetOrganizationPlainArgs(
public val domain: String? = null,
public val organization: String? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.organizations.inputs.GetOrganizationPlainArgs =
com.pulumi.gcp.organizations.inputs.GetOrganizationPlainArgs.builder()
.domain(domain?.let({ args0 -> args0 }))
.organization(organization?.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetOrganizationPlainArgs].
*/
@PulumiTagMarker
public class GetOrganizationPlainArgsBuilder internal constructor() {
private var domain: String? = null
private var organization: String? = null
/**
* @param value The domain name of the Organization.
* > **NOTE:** One of `organization` or `domain` must be specified.
*/
@JvmName("vnkhfpmbqvoyyipm")
public suspend fun domain(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.domain = mapped
}
/**
* @param value The Organization's numeric ID, including an optional `organizations/` prefix.
*/
@JvmName("iblrtfatslbaqjig")
public suspend fun organization(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.organization = mapped
}
internal fun build(): GetOrganizationPlainArgs = GetOrganizationPlainArgs(
domain = domain,
organization = organization,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy