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

com.pulumi.awsnative.transfer.kotlin.inputs.WorkflowS3FileLocationArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.transfer.kotlin.inputs

import com.pulumi.awsnative.transfer.inputs.WorkflowS3FileLocationArgs.builder
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.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 * Specifies the location for the file being copied. Only applicable for the Copy type of workflow steps.
 * @property s3FileLocation Specifies the details for the file location for the file that's being used in the workflow. Only applicable if you are using Amazon S3 storage.
 */
public data class WorkflowS3FileLocationArgs(
    public val s3FileLocation: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.transfer.inputs.WorkflowS3FileLocationArgs =
        com.pulumi.awsnative.transfer.inputs.WorkflowS3FileLocationArgs.builder()
            .s3FileLocation(
                s3FileLocation?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [WorkflowS3FileLocationArgs].
 */
@PulumiTagMarker
public class WorkflowS3FileLocationArgsBuilder internal constructor() {
    private var s3FileLocation: Output? = null

    /**
     * @param value Specifies the details for the file location for the file that's being used in the workflow. Only applicable if you are using Amazon S3 storage.
     */
    @JvmName("fdwhicpcrgpwmnkm")
    public suspend fun s3FileLocation(`value`: Output) {
        this.s3FileLocation = value
    }

    /**
     * @param value Specifies the details for the file location for the file that's being used in the workflow. Only applicable if you are using Amazon S3 storage.
     */
    @JvmName("bqayaucogcfwesvk")
    public suspend fun s3FileLocation(`value`: WorkflowS3InputFileLocationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.s3FileLocation = mapped
    }

    /**
     * @param argument Specifies the details for the file location for the file that's being used in the workflow. Only applicable if you are using Amazon S3 storage.
     */
    @JvmName("giwsypuchwylywvn")
    public suspend fun s3FileLocation(argument: suspend WorkflowS3InputFileLocationArgsBuilder.() -> Unit) {
        val toBeMapped = WorkflowS3InputFileLocationArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.s3FileLocation = mapped
    }

    internal fun build(): WorkflowS3FileLocationArgs = WorkflowS3FileLocationArgs(
        s3FileLocation = s3FileLocation,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy