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

com.pulumi.azurenative.monitor.kotlin.inputs.OtlpReceiverArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.monitor.kotlin.inputs

import com.pulumi.azurenative.monitor.inputs.OtlpReceiverArgs.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

/**
 * OTLP Receiver.
 * @property endpoint OTLP GRPC endpoint definition. Example: 0.0.0.0:.
 */
public data class OtlpReceiverArgs(
    public val endpoint: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.monitor.inputs.OtlpReceiverArgs =
        com.pulumi.azurenative.monitor.inputs.OtlpReceiverArgs.builder()
            .endpoint(endpoint.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [OtlpReceiverArgs].
 */
@PulumiTagMarker
public class OtlpReceiverArgsBuilder internal constructor() {
    private var endpoint: Output? = null

    /**
     * @param value OTLP GRPC endpoint definition. Example: 0.0.0.0:.
     */
    @JvmName("sibcfftucgrhadpb")
    public suspend fun endpoint(`value`: Output) {
        this.endpoint = value
    }

    /**
     * @param value OTLP GRPC endpoint definition. Example: 0.0.0.0:.
     */
    @JvmName("isxeedaoebabqyes")
    public suspend fun endpoint(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.endpoint = mapped
    }

    internal fun build(): OtlpReceiverArgs = OtlpReceiverArgs(
        endpoint = endpoint ?: throw PulumiNullFieldException("endpoint"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy