com.pulumi.gcp.oracledatabase.kotlin.inputs.GetAutonomousDatabasePlainArgs.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.oracledatabase.kotlin.inputs
import com.pulumi.gcp.oracledatabase.inputs.GetAutonomousDatabasePlainArgs.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
/**
* A collection of arguments for invoking getAutonomousDatabase.
* @property autonomousDatabaseId The ID of the AutonomousDatabase.
* @property location The location of the resource.
* - - -
* @property project The project to which the resource belongs. If it
* is not provided, the provider project is used.
*/
public data class GetAutonomousDatabasePlainArgs(
public val autonomousDatabaseId: String,
public val location: String,
public val project: String? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.oracledatabase.inputs.GetAutonomousDatabasePlainArgs =
com.pulumi.gcp.oracledatabase.inputs.GetAutonomousDatabasePlainArgs.builder()
.autonomousDatabaseId(autonomousDatabaseId.let({ args0 -> args0 }))
.location(location.let({ args0 -> args0 }))
.project(project?.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetAutonomousDatabasePlainArgs].
*/
@PulumiTagMarker
public class GetAutonomousDatabasePlainArgsBuilder internal constructor() {
private var autonomousDatabaseId: String? = null
private var location: String? = null
private var project: String? = null
/**
* @param value The ID of the AutonomousDatabase.
*/
@JvmName("wwvyopfoinuyyjht")
public suspend fun autonomousDatabaseId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.autonomousDatabaseId = mapped
}
/**
* @param value The location of the resource.
* - - -
*/
@JvmName("xjhbqyqhascwjsou")
public suspend fun location(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.location = mapped
}
/**
* @param value The project to which the resource belongs. If it
* is not provided, the provider project is used.
*/
@JvmName("yobefcyvrvjrqood")
public suspend fun project(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.project = mapped
}
internal fun build(): GetAutonomousDatabasePlainArgs = GetAutonomousDatabasePlainArgs(
autonomousDatabaseId = autonomousDatabaseId ?: throw
PulumiNullFieldException("autonomousDatabaseId"),
location = location ?: throw PulumiNullFieldException("location"),
project = project,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy