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

com.pulumi.awsnative.datasync.kotlin.LocationFSxWindowsArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.datasync.kotlin

import com.pulumi.awsnative.datasync.LocationFSxWindowsArgs.builder
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 * Resource schema for AWS::DataSync::LocationFSxWindows.
 * @property domain The name of the Windows domain that the FSx for Windows server belongs to.
 * @property fsxFilesystemArn The Amazon Resource Name (ARN) for the FSx for Windows file system.
 * @property password The password of the user who has the permissions to access files and folders in the FSx for Windows file system.
 * @property securityGroupArns The ARNs of the security groups that are to use to configure the FSx for Windows file system.
 * @property subdirectory A subdirectory in the location's path.
 * @property tags An array of key-value pairs to apply to this resource.
 * @property user The user who has the permissions to access files and folders in the FSx for Windows file system.
 */
public data class LocationFSxWindowsArgs(
    public val domain: Output? = null,
    public val fsxFilesystemArn: Output? = null,
    public val password: Output? = null,
    public val securityGroupArns: Output>? = null,
    public val subdirectory: Output? = null,
    public val tags: Output>? = null,
    public val user: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.datasync.LocationFSxWindowsArgs =
        com.pulumi.awsnative.datasync.LocationFSxWindowsArgs.builder()
            .domain(domain?.applyValue({ args0 -> args0 }))
            .fsxFilesystemArn(fsxFilesystemArn?.applyValue({ args0 -> args0 }))
            .password(password?.applyValue({ args0 -> args0 }))
            .securityGroupArns(securityGroupArns?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .subdirectory(subdirectory?.applyValue({ args0 -> args0 }))
            .tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
            .user(user?.applyValue({ args0 -> args0 })).build()
}

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

    private var fsxFilesystemArn: Output? = null

    private var password: Output? = null

    private var securityGroupArns: Output>? = null

    private var subdirectory: Output? = null

    private var tags: Output>? = null

    private var user: Output? = null

    /**
     * @param value The name of the Windows domain that the FSx for Windows server belongs to.
     */
    @JvmName("mgkiljciaxsdfrls")
    public suspend fun domain(`value`: Output) {
        this.domain = value
    }

    /**
     * @param value The Amazon Resource Name (ARN) for the FSx for Windows file system.
     */
    @JvmName("csxpnadinysduyur")
    public suspend fun fsxFilesystemArn(`value`: Output) {
        this.fsxFilesystemArn = value
    }

    /**
     * @param value The password of the user who has the permissions to access files and folders in the FSx for Windows file system.
     */
    @JvmName("kojuuayfejppoweg")
    public suspend fun password(`value`: Output) {
        this.password = value
    }

    /**
     * @param value The ARNs of the security groups that are to use to configure the FSx for Windows file system.
     */
    @JvmName("actwypvbmsjvsaaw")
    public suspend fun securityGroupArns(`value`: Output>) {
        this.securityGroupArns = value
    }

    @JvmName("qpvmmbjwnexothqv")
    public suspend fun securityGroupArns(vararg values: Output) {
        this.securityGroupArns = Output.all(values.asList())
    }

    /**
     * @param values The ARNs of the security groups that are to use to configure the FSx for Windows file system.
     */
    @JvmName("njoavwimlpwqeghr")
    public suspend fun securityGroupArns(values: List>) {
        this.securityGroupArns = Output.all(values)
    }

    /**
     * @param value A subdirectory in the location's path.
     */
    @JvmName("lntuyptjtwcynsci")
    public suspend fun subdirectory(`value`: Output) {
        this.subdirectory = value
    }

    /**
     * @param value An array of key-value pairs to apply to this resource.
     */
    @JvmName("aimfmyxinhonipiy")
    public suspend fun tags(`value`: Output>) {
        this.tags = value
    }

    @JvmName("lfooweybferryvyj")
    public suspend fun tags(vararg values: Output) {
        this.tags = Output.all(values.asList())
    }

    /**
     * @param values An array of key-value pairs to apply to this resource.
     */
    @JvmName("pqnxqljjsvjlddpx")
    public suspend fun tags(values: List>) {
        this.tags = Output.all(values)
    }

    /**
     * @param value The user who has the permissions to access files and folders in the FSx for Windows file system.
     */
    @JvmName("xepckeaiwlmqbrsg")
    public suspend fun user(`value`: Output) {
        this.user = value
    }

    /**
     * @param value The name of the Windows domain that the FSx for Windows server belongs to.
     */
    @JvmName("mhvvsffeamcejrkg")
    public suspend fun domain(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.domain = mapped
    }

    /**
     * @param value The Amazon Resource Name (ARN) for the FSx for Windows file system.
     */
    @JvmName("qutgqqoksyeetkmm")
    public suspend fun fsxFilesystemArn(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.fsxFilesystemArn = mapped
    }

    /**
     * @param value The password of the user who has the permissions to access files and folders in the FSx for Windows file system.
     */
    @JvmName("qagogcijrapkkehq")
    public suspend fun password(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.password = mapped
    }

    /**
     * @param value The ARNs of the security groups that are to use to configure the FSx for Windows file system.
     */
    @JvmName("ebxbjplppcbuowgu")
    public suspend fun securityGroupArns(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.securityGroupArns = mapped
    }

    /**
     * @param values The ARNs of the security groups that are to use to configure the FSx for Windows file system.
     */
    @JvmName("fwndakshbbaummyq")
    public suspend fun securityGroupArns(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.securityGroupArns = mapped
    }

    /**
     * @param value A subdirectory in the location's path.
     */
    @JvmName("jrhtvriscjlphspy")
    public suspend fun subdirectory(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.subdirectory = mapped
    }

    /**
     * @param value An array of key-value pairs to apply to this resource.
     */
    @JvmName("edhyqccounrbwdwd")
    public suspend fun tags(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param argument An array of key-value pairs to apply to this resource.
     */
    @JvmName("hlufntyoekiacvqd")
    public suspend fun tags(argument: List Unit>) {
        val toBeMapped = argument.toList().map { TagArgsBuilder().applySuspend { it() }.build() }
        val mapped = of(toBeMapped)
        this.tags = mapped
    }

    /**
     * @param argument An array of key-value pairs to apply to this resource.
     */
    @JvmName("vcfbnppphcxuuxoi")
    public suspend fun tags(vararg argument: suspend TagArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map { TagArgsBuilder().applySuspend { it() }.build() }
        val mapped = of(toBeMapped)
        this.tags = mapped
    }

    /**
     * @param argument An array of key-value pairs to apply to this resource.
     */
    @JvmName("yhnajsmeebioyyax")
    public suspend fun tags(argument: suspend TagArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(TagArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.tags = mapped
    }

    /**
     * @param values An array of key-value pairs to apply to this resource.
     */
    @JvmName("ctfxypabakdxryqk")
    public suspend fun tags(vararg values: TagArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param value The user who has the permissions to access files and folders in the FSx for Windows file system.
     */
    @JvmName("kotplunjaswubcpc")
    public suspend fun user(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.user = mapped
    }

    internal fun build(): LocationFSxWindowsArgs = LocationFSxWindowsArgs(
        domain = domain,
        fsxFilesystemArn = fsxFilesystemArn,
        password = password,
        securityGroupArns = securityGroupArns,
        subdirectory = subdirectory,
        tags = tags,
        user = user,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy