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

com.pulumi.gcp.storage.kotlin.inputs.TransferJobTransferSpecPosixDataSourceArgs.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: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.storage.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.storage.inputs.TransferJobTransferSpecPosixDataSourceArgs.builder
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 rootDirectory Root directory path to the filesystem.
 * The `aws_s3_data_source` block supports:
 */
public data class TransferJobTransferSpecPosixDataSourceArgs(
    public val rootDirectory: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.storage.inputs.TransferJobTransferSpecPosixDataSourceArgs =
        com.pulumi.gcp.storage.inputs.TransferJobTransferSpecPosixDataSourceArgs.builder()
            .rootDirectory(rootDirectory.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [TransferJobTransferSpecPosixDataSourceArgs].
 */
@PulumiTagMarker
public class TransferJobTransferSpecPosixDataSourceArgsBuilder internal constructor() {
    private var rootDirectory: Output? = null

    /**
     * @param value Root directory path to the filesystem.
     * The `aws_s3_data_source` block supports:
     */
    @JvmName("rrwpoadgnsnokffn")
    public suspend fun rootDirectory(`value`: Output) {
        this.rootDirectory = value
    }

    /**
     * @param value Root directory path to the filesystem.
     * The `aws_s3_data_source` block supports:
     */
    @JvmName("hojegmvmrdgwftst")
    public suspend fun rootDirectory(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.rootDirectory = mapped
    }

    internal fun build(): TransferJobTransferSpecPosixDataSourceArgs =
        TransferJobTransferSpecPosixDataSourceArgs(
            rootDirectory = rootDirectory ?: throw PulumiNullFieldException("rootDirectory"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy