![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.sentinel.kotlin.inputs.MetadataSourceArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.sentinel.kotlin.inputs
import com.pulumi.azure.sentinel.inputs.MetadataSourceArgs.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 id The id of the content source, the solution ID, Log Analytics Workspace name etc.
* @property kind The kind of the content source. Possible values are `Community`, `LocalWorkspace`, `Solution` and `SourceRepository`.
* @property name The name of the content source, repo name, solution name, Log Analytics Workspace name, etc.
*/
public data class MetadataSourceArgs(
public val id: Output? = null,
public val kind: Output,
public val name: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.sentinel.inputs.MetadataSourceArgs =
com.pulumi.azure.sentinel.inputs.MetadataSourceArgs.builder()
.id(id?.applyValue({ args0 -> args0 }))
.kind(kind.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [MetadataSourceArgs].
*/
@PulumiTagMarker
public class MetadataSourceArgsBuilder internal constructor() {
private var id: Output? = null
private var kind: Output? = null
private var name: Output? = null
/**
* @param value The id of the content source, the solution ID, Log Analytics Workspace name etc.
*/
@JvmName("okmncbgdhodhedvi")
public suspend fun id(`value`: Output) {
this.id = value
}
/**
* @param value The kind of the content source. Possible values are `Community`, `LocalWorkspace`, `Solution` and `SourceRepository`.
*/
@JvmName("dssfoxeisbferysp")
public suspend fun kind(`value`: Output) {
this.kind = value
}
/**
* @param value The name of the content source, repo name, solution name, Log Analytics Workspace name, etc.
*/
@JvmName("yvgspklxsfodliff")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The id of the content source, the solution ID, Log Analytics Workspace name etc.
*/
@JvmName("tjegtjsmwdrbonoi")
public suspend fun id(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.id = mapped
}
/**
* @param value The kind of the content source. Possible values are `Community`, `LocalWorkspace`, `Solution` and `SourceRepository`.
*/
@JvmName("bnnorqshbnphdpwm")
public suspend fun kind(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.kind = mapped
}
/**
* @param value The name of the content source, repo name, solution name, Log Analytics Workspace name, etc.
*/
@JvmName("tehiubwrsngpwsox")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
internal fun build(): MetadataSourceArgs = MetadataSourceArgs(
id = id,
kind = kind ?: throw PulumiNullFieldException("kind"),
name = name,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy