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

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

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

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

import com.pulumi.awsnative.sagemaker.inputs.UserProfileCustomPosixUserConfigArgs.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.Int
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property gid The POSIX group ID.
 * @property uid The POSIX user ID.
 */
public data class UserProfileCustomPosixUserConfigArgs(
    public val gid: Output,
    public val uid: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.sagemaker.inputs.UserProfileCustomPosixUserConfigArgs = com.pulumi.awsnative.sagemaker.inputs.UserProfileCustomPosixUserConfigArgs.builder()
        .gid(gid.applyValue({ args0 -> args0 }))
        .uid(uid.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [UserProfileCustomPosixUserConfigArgs].
 */
@PulumiTagMarker
public class UserProfileCustomPosixUserConfigArgsBuilder internal constructor() {
    private var gid: Output? = null

    private var uid: Output? = null

    /**
     * @param value The POSIX group ID.
     */
    @JvmName("uvilawiljwrcbivi")
    public suspend fun gid(`value`: Output) {
        this.gid = value
    }

    /**
     * @param value The POSIX user ID.
     */
    @JvmName("iwbayrdwnflkqvvp")
    public suspend fun uid(`value`: Output) {
        this.uid = value
    }

    /**
     * @param value The POSIX group ID.
     */
    @JvmName("trgiynigbyciynki")
    public suspend fun gid(`value`: Int) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.gid = mapped
    }

    /**
     * @param value The POSIX user ID.
     */
    @JvmName("qoakdsvdvtfdptcm")
    public suspend fun uid(`value`: Int) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.uid = mapped
    }

    internal fun build(): UserProfileCustomPosixUserConfigArgs = UserProfileCustomPosixUserConfigArgs(
        gid = gid ?: throw PulumiNullFieldException("gid"),
        uid = uid ?: throw PulumiNullFieldException("uid"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy