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

com.pulumi.awsnative.sagemaker.kotlin.inputs.UserProfileRStudioServerProAppSettingsArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.sagemaker.kotlin.inputs

import com.pulumi.awsnative.sagemaker.inputs.UserProfileRStudioServerProAppSettingsArgs.builder
import com.pulumi.awsnative.sagemaker.kotlin.enums.UserProfileRStudioServerProAppSettingsAccessStatus
import com.pulumi.awsnative.sagemaker.kotlin.enums.UserProfileRStudioServerProAppSettingsUserGroup
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * A collection of settings that configure user interaction with the RStudioServerPro app.
 * @property accessStatus Indicates whether the current user has access to the RStudioServerPro app.
 * @property userGroup The level of permissions that the user has within the RStudioServerPro app. This value defaults to User. The Admin value allows the user access to the RStudio Administrative Dashboard.
 */
public data class UserProfileRStudioServerProAppSettingsArgs(
    public val accessStatus: Output? = null,
    public val userGroup: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.sagemaker.inputs.UserProfileRStudioServerProAppSettingsArgs =
        com.pulumi.awsnative.sagemaker.inputs.UserProfileRStudioServerProAppSettingsArgs.builder()
            .accessStatus(accessStatus?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .userGroup(userGroup?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [UserProfileRStudioServerProAppSettingsArgs].
 */
@PulumiTagMarker
public class UserProfileRStudioServerProAppSettingsArgsBuilder internal constructor() {
    private var accessStatus: Output? = null

    private var userGroup: Output? = null

    /**
     * @param value Indicates whether the current user has access to the RStudioServerPro app.
     */
    @JvmName("swktgmkbnjrkyhyc")
    public suspend fun accessStatus(`value`: Output) {
        this.accessStatus = value
    }

    /**
     * @param value The level of permissions that the user has within the RStudioServerPro app. This value defaults to User. The Admin value allows the user access to the RStudio Administrative Dashboard.
     */
    @JvmName("dvaejfmnheapyuqk")
    public suspend fun userGroup(`value`: Output) {
        this.userGroup = value
    }

    /**
     * @param value Indicates whether the current user has access to the RStudioServerPro app.
     */
    @JvmName("moumwunhpnpkgtjv")
    public suspend fun accessStatus(`value`: UserProfileRStudioServerProAppSettingsAccessStatus?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.accessStatus = mapped
    }

    /**
     * @param value The level of permissions that the user has within the RStudioServerPro app. This value defaults to User. The Admin value allows the user access to the RStudio Administrative Dashboard.
     */
    @JvmName("dajefkxrpgjmdril")
    public suspend fun userGroup(`value`: UserProfileRStudioServerProAppSettingsUserGroup?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.userGroup = mapped
    }

    internal fun build(): UserProfileRStudioServerProAppSettingsArgs =
        UserProfileRStudioServerProAppSettingsArgs(
            accessStatus = accessStatus,
            userGroup = userGroup,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy