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

com.pulumi.digitalocean.kotlin.outputs.AppSpecDomainName.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: 4.38.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.digitalocean.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property name The hostname for the domain.
 * @property type The domain type, which can be one of the following:
 * - `DEFAULT`: The default .ondigitalocean.app domain assigned to this app.
 * - `PRIMARY`: The primary domain for this app that is displayed as the default in the control panel, used in bindable environment variables, and any other places that reference an app's live URL. Only one domain may be set as primary.
 * - `ALIAS`: A non-primary domain.
 * @property wildcard A boolean indicating whether the domain includes all sub-domains, in addition to the given domain.
 * @property zone If the domain uses DigitalOcean DNS and you would like App Platform to automatically manage it for you, set this to the name of the domain on your account.
 */
public data class AppSpecDomainName(
    public val name: String,
    public val type: String? = null,
    public val wildcard: Boolean? = null,
    public val zone: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.digitalocean.outputs.AppSpecDomainName): AppSpecDomainName = AppSpecDomainName(
            name = javaType.name(),
            type = javaType.type().map({ args0 -> args0 }).orElse(null),
            wildcard = javaType.wildcard().map({ args0 -> args0 }).orElse(null),
            zone = javaType.zone().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy