com.pulumi.aws.transfer.kotlin.inputs.WorkflowOnExceptionStepCopyStepDetailsDestinationFileLocationS3FileLocationArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.transfer.kotlin.inputs
import com.pulumi.aws.transfer.inputs.WorkflowOnExceptionStepCopyStepDetailsDestinationFileLocationS3FileLocationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property bucket Specifies the S3 bucket for the customer input file.
* @property key The name assigned to the file when it was created in S3. You use the object key to retrieve the object.
*/
public data class WorkflowOnExceptionStepCopyStepDetailsDestinationFileLocationS3FileLocationArgs(
public val bucket: Output? = null,
public val key: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.transfer.inputs.WorkflowOnExceptionStepCopyStepDetailsDestinationFileLocationS3FileLocationArgs =
com.pulumi.aws.transfer.inputs.WorkflowOnExceptionStepCopyStepDetailsDestinationFileLocationS3FileLocationArgs.builder()
.bucket(bucket?.applyValue({ args0 -> args0 }))
.key(key?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [WorkflowOnExceptionStepCopyStepDetailsDestinationFileLocationS3FileLocationArgs].
*/
@PulumiTagMarker
public class WorkflowOnExceptionStepCopyStepDetailsDestinationFileLocationS3FileLocationArgsBuilder
internal constructor() {
private var bucket: Output? = null
private var key: Output? = null
/**
* @param value Specifies the S3 bucket for the customer input file.
*/
@JvmName("qfktpjyskuywbsio")
public suspend fun bucket(`value`: Output) {
this.bucket = value
}
/**
* @param value The name assigned to the file when it was created in S3. You use the object key to retrieve the object.
*/
@JvmName("fvcwioksrfsrdmot")
public suspend fun key(`value`: Output) {
this.key = value
}
/**
* @param value Specifies the S3 bucket for the customer input file.
*/
@JvmName("kldqnnwuscmyjcie")
public suspend fun bucket(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.bucket = mapped
}
/**
* @param value The name assigned to the file when it was created in S3. You use the object key to retrieve the object.
*/
@JvmName("jgyjafrvbymkxfou")
public suspend fun key(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.key = mapped
}
internal fun build(): WorkflowOnExceptionStepCopyStepDetailsDestinationFileLocationS3FileLocationArgs =
WorkflowOnExceptionStepCopyStepDetailsDestinationFileLocationS3FileLocationArgs(
bucket = bucket,
key = key,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy