
com.pulumi.googlenative.compute.v1.kotlin.inputs.RouterMd5AuthenticationKeyArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-google-native-kotlin Show documentation
Show all versions of pulumi-google-native-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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.compute.v1.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.compute.v1.inputs.RouterMd5AuthenticationKeyArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property key [Input only] Value of the key. For patch and update calls, it can be skipped to copy the value from the previous configuration. This is allowed if the key with the same name existed before the operation. Maximum length is 80 characters. Can only contain printable ASCII characters.
* @property name Name used to identify the key. Must be unique within a router. Must be referenced by at least one bgpPeer. Must comply with RFC1035.
*/
public data class RouterMd5AuthenticationKeyArgs(
public val key: Output? = null,
public val name: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.compute.v1.inputs.RouterMd5AuthenticationKeyArgs =
com.pulumi.googlenative.compute.v1.inputs.RouterMd5AuthenticationKeyArgs.builder()
.key(key?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [RouterMd5AuthenticationKeyArgs].
*/
@PulumiTagMarker
public class RouterMd5AuthenticationKeyArgsBuilder internal constructor() {
private var key: Output? = null
private var name: Output? = null
/**
* @param value [Input only] Value of the key. For patch and update calls, it can be skipped to copy the value from the previous configuration. This is allowed if the key with the same name existed before the operation. Maximum length is 80 characters. Can only contain printable ASCII characters.
*/
@JvmName("sqvunjilnfcqpmia")
public suspend fun key(`value`: Output) {
this.key = value
}
/**
* @param value Name used to identify the key. Must be unique within a router. Must be referenced by at least one bgpPeer. Must comply with RFC1035.
*/
@JvmName("aiggikbhlamsyyls")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value [Input only] Value of the key. For patch and update calls, it can be skipped to copy the value from the previous configuration. This is allowed if the key with the same name existed before the operation. Maximum length is 80 characters. Can only contain printable ASCII characters.
*/
@JvmName("owscusabjcejmhlh")
public suspend fun key(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.key = mapped
}
/**
* @param value Name used to identify the key. Must be unique within a router. Must be referenced by at least one bgpPeer. Must comply with RFC1035.
*/
@JvmName("rdfniteqndrglbvs")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
internal fun build(): RouterMd5AuthenticationKeyArgs = RouterMd5AuthenticationKeyArgs(
key = key,
name = name,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy