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

com.pulumi.digitalocean.kotlin.outputs.GetAppSpecServiceLogDestination.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 GetAppSpecServiceLogDestination(
    public val datadog: GetAppSpecServiceLogDestinationDatadog? = null,
    public val logtail: GetAppSpecServiceLogDestinationLogtail? = null,
    public val name: String,
    public val papertrail: GetAppSpecServiceLogDestinationPapertrail? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.digitalocean.outputs.GetAppSpecServiceLogDestination): GetAppSpecServiceLogDestination = GetAppSpecServiceLogDestination(
            datadog = javaType.datadog().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.digitalocean.kotlin.outputs.GetAppSpecServiceLogDestinationDatadog.Companion.toKotlin(args0)
                })
            }).orElse(null),
            logtail = javaType.logtail().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.digitalocean.kotlin.outputs.GetAppSpecServiceLogDestinationLogtail.Companion.toKotlin(args0)
                })
            }).orElse(null),
            name = javaType.name(),
            papertrail = javaType.papertrail().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.digitalocean.kotlin.outputs.GetAppSpecServiceLogDestinationPapertrail.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy