
com.pulumi.azurenative.machinelearningservices.kotlin.inputs.EndpointAuthKeysArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.machinelearningservices.kotlin.inputs
import com.pulumi.azurenative.machinelearningservices.inputs.EndpointAuthKeysArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Keys for endpoint authentication.
* @property primaryKey The primary key.
* @property secondaryKey The secondary key.
*/
public data class EndpointAuthKeysArgs(
public val primaryKey: Output? = null,
public val secondaryKey: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.machinelearningservices.inputs.EndpointAuthKeysArgs = com.pulumi.azurenative.machinelearningservices.inputs.EndpointAuthKeysArgs.builder()
.primaryKey(primaryKey?.applyValue({ args0 -> args0 }))
.secondaryKey(secondaryKey?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [EndpointAuthKeysArgs].
*/
@PulumiTagMarker
public class EndpointAuthKeysArgsBuilder internal constructor() {
private var primaryKey: Output? = null
private var secondaryKey: Output? = null
/**
* @param value The primary key.
*/
@JvmName("uyglcohhohxlhbrw")
public suspend fun primaryKey(`value`: Output) {
this.primaryKey = value
}
/**
* @param value The secondary key.
*/
@JvmName("xomnvrojmllxhskm")
public suspend fun secondaryKey(`value`: Output) {
this.secondaryKey = value
}
/**
* @param value The primary key.
*/
@JvmName("ehxstypdqujlmtum")
public suspend fun primaryKey(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.primaryKey = mapped
}
/**
* @param value The secondary key.
*/
@JvmName("ebrrilcuwrnsrmfr")
public suspend fun secondaryKey(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.secondaryKey = mapped
}
internal fun build(): EndpointAuthKeysArgs = EndpointAuthKeysArgs(
primaryKey = primaryKey,
secondaryKey = secondaryKey,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy