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

com.pulumi.digitalocean.kotlin.outputs.GetAppSpecWorkerLogDestination.kt Maven / Gradle / Ivy

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

package com.pulumi.digitalocean.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property datadog Datadog configuration.
 * @property logtail Logtail configuration.
 * @property name The name of the component.
 * @property papertrail Papertrail configuration.
 */
public data class GetAppSpecWorkerLogDestination(
    public val datadog: GetAppSpecWorkerLogDestinationDatadog? = null,
    public val logtail: GetAppSpecWorkerLogDestinationLogtail? = null,
    public val name: String,
    public val papertrail: GetAppSpecWorkerLogDestinationPapertrail? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.digitalocean.outputs.GetAppSpecWorkerLogDestination): GetAppSpecWorkerLogDestination = GetAppSpecWorkerLogDestination(
            datadog = javaType.datadog().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.digitalocean.kotlin.outputs.GetAppSpecWorkerLogDestinationDatadog.Companion.toKotlin(args0)
                })
            }).orElse(null),
            logtail = javaType.logtail().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.digitalocean.kotlin.outputs.GetAppSpecWorkerLogDestinationLogtail.Companion.toKotlin(args0)
                })
            }).orElse(null),
            name = javaType.name(),
            papertrail = javaType.papertrail().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.digitalocean.kotlin.outputs.GetAppSpecWorkerLogDestinationPapertrail.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy