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

com.pulumi.awsnative.workspacesweb.kotlin.inputs.UserSettingsCookieSpecificationArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.workspacesweb.kotlin.inputs

import com.pulumi.awsnative.workspacesweb.inputs.UserSettingsCookieSpecificationArgs.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 domain The domain of the cookie.
 * @property name The name of the cookie.
 * @property path The path of the cookie.
 */
public data class UserSettingsCookieSpecificationArgs(
    public val domain: Output,
    public val name: Output? = null,
    public val path: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.workspacesweb.inputs.UserSettingsCookieSpecificationArgs =
        com.pulumi.awsnative.workspacesweb.inputs.UserSettingsCookieSpecificationArgs.builder()
            .domain(domain.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 }))
            .path(path?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [UserSettingsCookieSpecificationArgs].
 */
@PulumiTagMarker
public class UserSettingsCookieSpecificationArgsBuilder internal constructor() {
    private var domain: Output? = null

    private var name: Output? = null

    private var path: Output? = null

    /**
     * @param value The domain of the cookie.
     */
    @JvmName("cpvmoohkwqsytcrl")
    public suspend fun domain(`value`: Output) {
        this.domain = value
    }

    /**
     * @param value The name of the cookie.
     */
    @JvmName("tpujclsykhlvfdxt")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value The path of the cookie.
     */
    @JvmName("qtlujapywkvttiqr")
    public suspend fun path(`value`: Output) {
        this.path = value
    }

    /**
     * @param value The domain of the cookie.
     */
    @JvmName("adiqxonclisivnhw")
    public suspend fun domain(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.domain = mapped
    }

    /**
     * @param value The name of the cookie.
     */
    @JvmName("ayydrosuxrtkoesk")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value The path of the cookie.
     */
    @JvmName("cqswwauyjloxmjjw")
    public suspend fun path(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.path = mapped
    }

    internal fun build(): UserSettingsCookieSpecificationArgs = UserSettingsCookieSpecificationArgs(
        domain = domain ?: throw PulumiNullFieldException("domain"),
        name = name,
        path = path,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy