com.pulumi.azurenative.migrate.kotlin.inputs.CollectorAgentSpnPropertiesBaseArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.migrate.kotlin.inputs
import com.pulumi.azurenative.migrate.inputs.CollectorAgentSpnPropertiesBaseArgs.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
/**
* Collector agent SPN details class.
* @property applicationId Gets the AAD application id.
* @property audience Gets the AAD audience url.
* @property authority Gets the AAD authority endpoint.
* @property objectId Gets the object id of the AAD application.
* @property tenantId Gets the tenant id of the AAD application.
*/
public data class CollectorAgentSpnPropertiesBaseArgs(
public val applicationId: Output? = null,
public val audience: Output? = null,
public val authority: Output? = null,
public val objectId: Output? = null,
public val tenantId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.migrate.inputs.CollectorAgentSpnPropertiesBaseArgs =
com.pulumi.azurenative.migrate.inputs.CollectorAgentSpnPropertiesBaseArgs.builder()
.applicationId(applicationId?.applyValue({ args0 -> args0 }))
.audience(audience?.applyValue({ args0 -> args0 }))
.authority(authority?.applyValue({ args0 -> args0 }))
.objectId(objectId?.applyValue({ args0 -> args0 }))
.tenantId(tenantId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [CollectorAgentSpnPropertiesBaseArgs].
*/
@PulumiTagMarker
public class CollectorAgentSpnPropertiesBaseArgsBuilder internal constructor() {
private var applicationId: Output? = null
private var audience: Output? = null
private var authority: Output? = null
private var objectId: Output? = null
private var tenantId: Output? = null
/**
* @param value Gets the AAD application id.
*/
@JvmName("stvpbayuquvimhkl")
public suspend fun applicationId(`value`: Output) {
this.applicationId = value
}
/**
* @param value Gets the AAD audience url.
*/
@JvmName("cjmipykwunswbfcd")
public suspend fun audience(`value`: Output) {
this.audience = value
}
/**
* @param value Gets the AAD authority endpoint.
*/
@JvmName("wvogxcdsbxblouoa")
public suspend fun authority(`value`: Output) {
this.authority = value
}
/**
* @param value Gets the object id of the AAD application.
*/
@JvmName("jbyfebijursojrvf")
public suspend fun objectId(`value`: Output) {
this.objectId = value
}
/**
* @param value Gets the tenant id of the AAD application.
*/
@JvmName("ugkpoxapssusbxhl")
public suspend fun tenantId(`value`: Output) {
this.tenantId = value
}
/**
* @param value Gets the AAD application id.
*/
@JvmName("mblfycmvigvpkeiw")
public suspend fun applicationId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.applicationId = mapped
}
/**
* @param value Gets the AAD audience url.
*/
@JvmName("kahvadyoqymtanlj")
public suspend fun audience(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.audience = mapped
}
/**
* @param value Gets the AAD authority endpoint.
*/
@JvmName("qcdecwpkqrfapgtb")
public suspend fun authority(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.authority = mapped
}
/**
* @param value Gets the object id of the AAD application.
*/
@JvmName("ktajbhhcxbohiejo")
public suspend fun objectId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.objectId = mapped
}
/**
* @param value Gets the tenant id of the AAD application.
*/
@JvmName("ewhkmdnhhiiptvnf")
public suspend fun tenantId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.tenantId = mapped
}
internal fun build(): CollectorAgentSpnPropertiesBaseArgs = CollectorAgentSpnPropertiesBaseArgs(
applicationId = applicationId,
audience = audience,
authority = authority,
objectId = objectId,
tenantId = tenantId,
)
}