
com.pulumi.azure.appplatform.kotlin.inputs.SpringCloudServiceContainerRegistryArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.appplatform.kotlin.inputs
import com.pulumi.azure.appplatform.inputs.SpringCloudServiceContainerRegistryArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
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
/**
*
* @property name Specifies the name of the container registry.
* @property password Specifies the password of the container registry.
* @property server Specifies the login server of the container registry.
* @property username Specifies the username of the container registry.
*/
public data class SpringCloudServiceContainerRegistryArgs(
public val name: Output,
public val password: Output,
public val server: Output,
public val username: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.appplatform.inputs.SpringCloudServiceContainerRegistryArgs = com.pulumi.azure.appplatform.inputs.SpringCloudServiceContainerRegistryArgs.builder()
.name(name.applyValue({ args0 -> args0 }))
.password(password.applyValue({ args0 -> args0 }))
.server(server.applyValue({ args0 -> args0 }))
.username(username.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SpringCloudServiceContainerRegistryArgs].
*/
@PulumiTagMarker
public class SpringCloudServiceContainerRegistryArgsBuilder internal constructor() {
private var name: Output? = null
private var password: Output? = null
private var server: Output? = null
private var username: Output? = null
/**
* @param value Specifies the name of the container registry.
*/
@JvmName("wsluxkkgesgxhsgw")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Specifies the password of the container registry.
*/
@JvmName("ylohycwbcxwsyoqd")
public suspend fun password(`value`: Output) {
this.password = value
}
/**
* @param value Specifies the login server of the container registry.
*/
@JvmName("kapafijtydgugneg")
public suspend fun server(`value`: Output) {
this.server = value
}
/**
* @param value Specifies the username of the container registry.
*/
@JvmName("taalducwaovcatsc")
public suspend fun username(`value`: Output) {
this.username = value
}
/**
* @param value Specifies the name of the container registry.
*/
@JvmName("lvwwrpkktvavosik")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value Specifies the password of the container registry.
*/
@JvmName("oiqqiqpkiqlrctec")
public suspend fun password(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.password = mapped
}
/**
* @param value Specifies the login server of the container registry.
*/
@JvmName("ctebvxqvxwthmoej")
public suspend fun server(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.server = mapped
}
/**
* @param value Specifies the username of the container registry.
*/
@JvmName("bqgidkxsndvpvvxr")
public suspend fun username(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.username = mapped
}
internal fun build(): SpringCloudServiceContainerRegistryArgs =
SpringCloudServiceContainerRegistryArgs(
name = name ?: throw PulumiNullFieldException("name"),
password = password ?: throw PulumiNullFieldException("password"),
server = server ?: throw PulumiNullFieldException("server"),
username = username ?: throw PulumiNullFieldException("username"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy