com.pulumi.azurenative.migrate.kotlin.inputs.IdentityModelArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.migrate.kotlin.inputs
import com.pulumi.azurenative.migrate.inputs.IdentityModelArgs.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
/**
* Identity model.
* @property aadAuthority Gets or sets the authority of the SPN with which MigrateAgent communicates to service.
* @property applicationId Gets or sets the client/application Id of the SPN with which MigrateAgent communicates to
* service.
* @property audience Gets or sets the audience of the SPN with which MigrateAgent communicates to service.
* @property objectId Gets or sets the object Id of the SPN with which MigrateAgent communicates to service.
* @property tenantId Gets or sets the tenant Id of the SPN with which MigrateAgent communicates to service.
*/
public data class IdentityModelArgs(
public val aadAuthority: Output? = null,
public val applicationId: Output? = null,
public val audience: Output? = null,
public val objectId: Output? = null,
public val tenantId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.migrate.inputs.IdentityModelArgs =
com.pulumi.azurenative.migrate.inputs.IdentityModelArgs.builder()
.aadAuthority(aadAuthority?.applyValue({ args0 -> args0 }))
.applicationId(applicationId?.applyValue({ args0 -> args0 }))
.audience(audience?.applyValue({ args0 -> args0 }))
.objectId(objectId?.applyValue({ args0 -> args0 }))
.tenantId(tenantId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [IdentityModelArgs].
*/
@PulumiTagMarker
public class IdentityModelArgsBuilder internal constructor() {
private var aadAuthority: Output? = null
private var applicationId: Output? = null
private var audience: Output? = null
private var objectId: Output? = null
private var tenantId: Output? = null
/**
* @param value Gets or sets the authority of the SPN with which MigrateAgent communicates to service.
*/
@JvmName("cjxddsttvrbvccuc")
public suspend fun aadAuthority(`value`: Output) {
this.aadAuthority = value
}
/**
* @param value Gets or sets the client/application Id of the SPN with which MigrateAgent communicates to
* service.
*/
@JvmName("yhikqutnwgfqwxdu")
public suspend fun applicationId(`value`: Output) {
this.applicationId = value
}
/**
* @param value Gets or sets the audience of the SPN with which MigrateAgent communicates to service.
*/
@JvmName("mekraioiciutioib")
public suspend fun audience(`value`: Output) {
this.audience = value
}
/**
* @param value Gets or sets the object Id of the SPN with which MigrateAgent communicates to service.
*/
@JvmName("fafmriuwiujsyydk")
public suspend fun objectId(`value`: Output) {
this.objectId = value
}
/**
* @param value Gets or sets the tenant Id of the SPN with which MigrateAgent communicates to service.
*/
@JvmName("kxgbcjdhyvgjhuwa")
public suspend fun tenantId(`value`: Output) {
this.tenantId = value
}
/**
* @param value Gets or sets the authority of the SPN with which MigrateAgent communicates to service.
*/
@JvmName("hmwxwemhjwhbwern")
public suspend fun aadAuthority(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.aadAuthority = mapped
}
/**
* @param value Gets or sets the client/application Id of the SPN with which MigrateAgent communicates to
* service.
*/
@JvmName("hhchcespcflnpqop")
public suspend fun applicationId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.applicationId = mapped
}
/**
* @param value Gets or sets the audience of the SPN with which MigrateAgent communicates to service.
*/
@JvmName("wnapaixhnwfdhixi")
public suspend fun audience(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.audience = mapped
}
/**
* @param value Gets or sets the object Id of the SPN with which MigrateAgent communicates to service.
*/
@JvmName("qynjkwyndixnsgxs")
public suspend fun objectId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.objectId = mapped
}
/**
* @param value Gets or sets the tenant Id of the SPN with which MigrateAgent communicates to service.
*/
@JvmName("pumvljbdffwwaeic")
public suspend fun tenantId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.tenantId = mapped
}
internal fun build(): IdentityModelArgs = IdentityModelArgs(
aadAuthority = aadAuthority,
applicationId = applicationId,
audience = audience,
objectId = objectId,
tenantId = tenantId,
)
}