com.pulumi.digitalocean.kotlin.inputs.GetContainerRegistryPlainArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-digitalocean-kotlin Show documentation
Show all versions of pulumi-digitalocean-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.digitalocean.kotlin.inputs
import com.pulumi.digitalocean.inputs.GetContainerRegistryPlainArgs.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 getContainerRegistry.
* @property name The name of the container registry.
*/
public data class GetContainerRegistryPlainArgs(
public val name: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.digitalocean.inputs.GetContainerRegistryPlainArgs =
com.pulumi.digitalocean.inputs.GetContainerRegistryPlainArgs.builder()
.name(name.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetContainerRegistryPlainArgs].
*/
@PulumiTagMarker
public class GetContainerRegistryPlainArgsBuilder internal constructor() {
private var name: String? = null
/**
* @param value The name of the container registry.
*/
@JvmName("pllsuedwbciebfms")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.name = mapped
}
internal fun build(): GetContainerRegistryPlainArgs = GetContainerRegistryPlainArgs(
name = name ?: throw PulumiNullFieldException("name"),
)
}