com.pulumi.gcp.notebooks.kotlin.inputs.RuntimeAccessConfigArgs.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.notebooks.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.notebooks.inputs.RuntimeAccessConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property accessType The type of access mode this instance. For valid values, see
* `https://cloud.google.com/vertex-ai/docs/workbench/reference/
* rest/v1/projects.locations.runtimes#RuntimeAccessType`.
* @property proxyUri (Output)
* The proxy endpoint that is used to access the runtime.
* @property runtimeOwner The owner of this runtime after creation. Format: `[email protected]`.
* Currently supports one owner only.
*/
public data class RuntimeAccessConfigArgs(
public val accessType: Output? = null,
public val proxyUri: Output? = null,
public val runtimeOwner: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.notebooks.inputs.RuntimeAccessConfigArgs =
com.pulumi.gcp.notebooks.inputs.RuntimeAccessConfigArgs.builder()
.accessType(accessType?.applyValue({ args0 -> args0 }))
.proxyUri(proxyUri?.applyValue({ args0 -> args0 }))
.runtimeOwner(runtimeOwner?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [RuntimeAccessConfigArgs].
*/
@PulumiTagMarker
public class RuntimeAccessConfigArgsBuilder internal constructor() {
private var accessType: Output? = null
private var proxyUri: Output? = null
private var runtimeOwner: Output? = null
/**
* @param value The type of access mode this instance. For valid values, see
* `https://cloud.google.com/vertex-ai/docs/workbench/reference/
* rest/v1/projects.locations.runtimes#RuntimeAccessType`.
*/
@JvmName("hrpetwtakrngnnyf")
public suspend fun accessType(`value`: Output) {
this.accessType = value
}
/**
* @param value (Output)
* The proxy endpoint that is used to access the runtime.
*/
@JvmName("axyligipnygobuxn")
public suspend fun proxyUri(`value`: Output) {
this.proxyUri = value
}
/**
* @param value The owner of this runtime after creation. Format: `[email protected]`.
* Currently supports one owner only.
*/
@JvmName("nuedkvxxyheqvkyl")
public suspend fun runtimeOwner(`value`: Output) {
this.runtimeOwner = value
}
/**
* @param value The type of access mode this instance. For valid values, see
* `https://cloud.google.com/vertex-ai/docs/workbench/reference/
* rest/v1/projects.locations.runtimes#RuntimeAccessType`.
*/
@JvmName("hrbjgkljctdmkkvt")
public suspend fun accessType(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.accessType = mapped
}
/**
* @param value (Output)
* The proxy endpoint that is used to access the runtime.
*/
@JvmName("qetoxxfaxqjaylqm")
public suspend fun proxyUri(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.proxyUri = mapped
}
/**
* @param value The owner of this runtime after creation. Format: `[email protected]`.
* Currently supports one owner only.
*/
@JvmName("bcxgqfkrntxflwtm")
public suspend fun runtimeOwner(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.runtimeOwner = mapped
}
internal fun build(): RuntimeAccessConfigArgs = RuntimeAccessConfigArgs(
accessType = accessType,
proxyUri = proxyUri,
runtimeOwner = runtimeOwner,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy