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

com.pulumi.awsnative.amplify.kotlin.inputs.DomainSubDomainSettingArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.amplify.kotlin.inputs

import com.pulumi.awsnative.amplify.inputs.DomainSubDomainSettingArgs.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 branchName The branch name setting for the subdomain.
 * *Length Constraints:* Minimum length of 1. Maximum length of 255.
 * *Pattern:* (?s).+
 * @property prefix The prefix setting for the subdomain.
 */
public data class DomainSubDomainSettingArgs(
    public val branchName: Output,
    public val prefix: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.amplify.inputs.DomainSubDomainSettingArgs =
        com.pulumi.awsnative.amplify.inputs.DomainSubDomainSettingArgs.builder()
            .branchName(branchName.applyValue({ args0 -> args0 }))
            .prefix(prefix.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DomainSubDomainSettingArgs].
 */
@PulumiTagMarker
public class DomainSubDomainSettingArgsBuilder internal constructor() {
    private var branchName: Output? = null

    private var prefix: Output? = null

    /**
     * @param value The branch name setting for the subdomain.
     * *Length Constraints:* Minimum length of 1. Maximum length of 255.
     * *Pattern:* (?s).+
     */
    @JvmName("vyngqxkeyjrxoyij")
    public suspend fun branchName(`value`: Output) {
        this.branchName = value
    }

    /**
     * @param value The prefix setting for the subdomain.
     */
    @JvmName("amtammcumdbihahs")
    public suspend fun prefix(`value`: Output) {
        this.prefix = value
    }

    /**
     * @param value The branch name setting for the subdomain.
     * *Length Constraints:* Minimum length of 1. Maximum length of 255.
     * *Pattern:* (?s).+
     */
    @JvmName("broodqebjwtayyio")
    public suspend fun branchName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.branchName = mapped
    }

    /**
     * @param value The prefix setting for the subdomain.
     */
    @JvmName("okfwcvtamvdxtxww")
    public suspend fun prefix(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.prefix = mapped
    }

    internal fun build(): DomainSubDomainSettingArgs = DomainSubDomainSettingArgs(
        branchName = branchName ?: throw PulumiNullFieldException("branchName"),
        prefix = prefix ?: throw PulumiNullFieldException("prefix"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy