All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.sentinel.kotlin.inputs.MetadataAuthorArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.sentinel.kotlin.inputs

import com.pulumi.azure.sentinel.inputs.MetadataAuthorArgs.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

/**
 *
 * @property email The email address of the author contact.
 * @property link The link for author/vendor page.
 * @property name The name of the author, company or person.
 */
public data class MetadataAuthorArgs(
    public val email: Output? = null,
    public val link: Output? = null,
    public val name: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.sentinel.inputs.MetadataAuthorArgs =
        com.pulumi.azure.sentinel.inputs.MetadataAuthorArgs.builder()
            .email(email?.applyValue({ args0 -> args0 }))
            .link(link?.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [MetadataAuthorArgs].
 */
@PulumiTagMarker
public class MetadataAuthorArgsBuilder internal constructor() {
    private var email: Output? = null

    private var link: Output? = null

    private var name: Output? = null

    /**
     * @param value The email address of the author contact.
     */
    @JvmName("hsiwmyasxngbelje")
    public suspend fun email(`value`: Output) {
        this.email = value
    }

    /**
     * @param value The link for author/vendor page.
     */
    @JvmName("ekadrficsikgrysq")
    public suspend fun link(`value`: Output) {
        this.link = value
    }

    /**
     * @param value The name of the author, company or person.
     */
    @JvmName("sjihwkbecveucoeq")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value The email address of the author contact.
     */
    @JvmName("wuxtycvghaqwucug")
    public suspend fun email(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.email = mapped
    }

    /**
     * @param value The link for author/vendor page.
     */
    @JvmName("yqllfvueeoturwur")
    public suspend fun link(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.link = mapped
    }

    /**
     * @param value The name of the author, company or person.
     */
    @JvmName("lsjrakqbwnodrgva")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

    internal fun build(): MetadataAuthorArgs = MetadataAuthorArgs(
        email = email,
        link = link,
        name = name,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy