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

com.pulumi.azurenative.machinelearningservices.kotlin.inputs.ServerlessOfferArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.machinelearningservices.kotlin.inputs

import com.pulumi.azurenative.machinelearningservices.inputs.ServerlessOfferArgs.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 offerName [Required] The name of the Serverless Offer
 * @property publisher [Required] Publisher name of the Serverless Offer
 */
public data class ServerlessOfferArgs(
    public val offerName: Output,
    public val publisher: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.machinelearningservices.inputs.ServerlessOfferArgs =
        com.pulumi.azurenative.machinelearningservices.inputs.ServerlessOfferArgs.builder()
            .offerName(offerName.applyValue({ args0 -> args0 }))
            .publisher(publisher.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ServerlessOfferArgs].
 */
@PulumiTagMarker
public class ServerlessOfferArgsBuilder internal constructor() {
    private var offerName: Output? = null

    private var publisher: Output? = null

    /**
     * @param value [Required] The name of the Serverless Offer
     */
    @JvmName("omdiedoftmarcvpt")
    public suspend fun offerName(`value`: Output) {
        this.offerName = value
    }

    /**
     * @param value [Required] Publisher name of the Serverless Offer
     */
    @JvmName("tjivoxvwhncmohpg")
    public suspend fun publisher(`value`: Output) {
        this.publisher = value
    }

    /**
     * @param value [Required] The name of the Serverless Offer
     */
    @JvmName("pqufypeqgnbxlasi")
    public suspend fun offerName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.offerName = mapped
    }

    /**
     * @param value [Required] Publisher name of the Serverless Offer
     */
    @JvmName("poeaichvhcswibre")
    public suspend fun publisher(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.publisher = mapped
    }

    internal fun build(): ServerlessOfferArgs = ServerlessOfferArgs(
        offerName = offerName ?: throw PulumiNullFieldException("offerName"),
        publisher = publisher ?: throw PulumiNullFieldException("publisher"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy