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

com.pulumi.aws.appstream.kotlin.inputs.StackUserSettingArgs.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.appstream.kotlin.inputs

import com.pulumi.aws.appstream.inputs.StackUserSettingArgs.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 action Action that is enabled or disabled.
 * Valid values are `CLIPBOARD_COPY_FROM_LOCAL_DEVICE`,  `CLIPBOARD_COPY_TO_LOCAL_DEVICE`, `FILE_UPLOAD`, `FILE_DOWNLOAD`, `PRINTING_TO_LOCAL_DEVICE`, `DOMAIN_PASSWORD_SIGNIN`, or `DOMAIN_SMART_CARD_SIGNIN`.
 * @property permission Whether the action is enabled or disabled.
 * Valid values are `ENABLED` or `DISABLED`.
 */
public data class StackUserSettingArgs(
    public val action: Output,
    public val permission: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.appstream.inputs.StackUserSettingArgs =
        com.pulumi.aws.appstream.inputs.StackUserSettingArgs.builder()
            .action(action.applyValue({ args0 -> args0 }))
            .permission(permission.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [StackUserSettingArgs].
 */
@PulumiTagMarker
public class StackUserSettingArgsBuilder internal constructor() {
    private var action: Output? = null

    private var permission: Output? = null

    /**
     * @param value Action that is enabled or disabled.
     * Valid values are `CLIPBOARD_COPY_FROM_LOCAL_DEVICE`,  `CLIPBOARD_COPY_TO_LOCAL_DEVICE`, `FILE_UPLOAD`, `FILE_DOWNLOAD`, `PRINTING_TO_LOCAL_DEVICE`, `DOMAIN_PASSWORD_SIGNIN`, or `DOMAIN_SMART_CARD_SIGNIN`.
     */
    @JvmName("vtxdidpodnlggeyb")
    public suspend fun action(`value`: Output) {
        this.action = value
    }

    /**
     * @param value Whether the action is enabled or disabled.
     * Valid values are `ENABLED` or `DISABLED`.
     */
    @JvmName("aiihaapyfxvelxsi")
    public suspend fun permission(`value`: Output) {
        this.permission = value
    }

    /**
     * @param value Action that is enabled or disabled.
     * Valid values are `CLIPBOARD_COPY_FROM_LOCAL_DEVICE`,  `CLIPBOARD_COPY_TO_LOCAL_DEVICE`, `FILE_UPLOAD`, `FILE_DOWNLOAD`, `PRINTING_TO_LOCAL_DEVICE`, `DOMAIN_PASSWORD_SIGNIN`, or `DOMAIN_SMART_CARD_SIGNIN`.
     */
    @JvmName("sjhfbqjudulsrpff")
    public suspend fun action(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.action = mapped
    }

    /**
     * @param value Whether the action is enabled or disabled.
     * Valid values are `ENABLED` or `DISABLED`.
     */
    @JvmName("hkumopvcywwqgbcn")
    public suspend fun permission(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.permission = mapped
    }

    internal fun build(): StackUserSettingArgs = StackUserSettingArgs(
        action = action ?: throw PulumiNullFieldException("action"),
        permission = permission ?: throw PulumiNullFieldException("permission"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy