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

com.pulumi.azurenative.hybridnetwork.kotlin.inputs.AzureArcKubernetesArtifactProfileArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.hybridnetwork.kotlin.inputs

import com.pulumi.azurenative.hybridnetwork.inputs.AzureArcKubernetesArtifactProfileArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 * Azure arc kubernetes artifact profile properties.
 * @property artifactStore The reference to artifact store.
 * @property helmArtifactProfile Helm artifact profile.
 */
public data class AzureArcKubernetesArtifactProfileArgs(
    public val artifactStore: Output? = null,
    public val helmArtifactProfile: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.hybridnetwork.inputs.AzureArcKubernetesArtifactProfileArgs =
        com.pulumi.azurenative.hybridnetwork.inputs.AzureArcKubernetesArtifactProfileArgs.builder()
            .artifactStore(artifactStore?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .helmArtifactProfile(
                helmArtifactProfile?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [AzureArcKubernetesArtifactProfileArgs].
 */
@PulumiTagMarker
public class AzureArcKubernetesArtifactProfileArgsBuilder internal constructor() {
    private var artifactStore: Output? = null

    private var helmArtifactProfile: Output? = null

    /**
     * @param value The reference to artifact store.
     */
    @JvmName("etjgmsockhvrngew")
    public suspend fun artifactStore(`value`: Output) {
        this.artifactStore = value
    }

    /**
     * @param value Helm artifact profile.
     */
    @JvmName("waqmmgqjdpvfnast")
    public suspend fun helmArtifactProfile(`value`: Output) {
        this.helmArtifactProfile = value
    }

    /**
     * @param value The reference to artifact store.
     */
    @JvmName("aqoptwbfyieuyjna")
    public suspend fun artifactStore(`value`: ReferencedResourceArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.artifactStore = mapped
    }

    /**
     * @param argument The reference to artifact store.
     */
    @JvmName("lggmeymntkygntsb")
    public suspend fun artifactStore(argument: suspend ReferencedResourceArgsBuilder.() -> Unit) {
        val toBeMapped = ReferencedResourceArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.artifactStore = mapped
    }

    /**
     * @param value Helm artifact profile.
     */
    @JvmName("mhgsnqxtasumlwef")
    public suspend fun helmArtifactProfile(`value`: HelmArtifactProfileArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.helmArtifactProfile = mapped
    }

    /**
     * @param argument Helm artifact profile.
     */
    @JvmName("hdkbpppugfunleyv")
    public suspend fun helmArtifactProfile(argument: suspend HelmArtifactProfileArgsBuilder.() -> Unit) {
        val toBeMapped = HelmArtifactProfileArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.helmArtifactProfile = mapped
    }

    internal fun build(): AzureArcKubernetesArtifactProfileArgs =
        AzureArcKubernetesArtifactProfileArgs(
            artifactStore = artifactStore,
            helmArtifactProfile = helmArtifactProfile,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy