
com.pulumi.awsnative.transfer.kotlin.outputs.WorkflowStepCopyStepDetailsProperties.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.transfer.kotlin.outputs
import com.pulumi.awsnative.transfer.kotlin.enums.WorkflowStepCopyStepDetailsPropertiesOverwriteExisting
import kotlin.String
import kotlin.Suppress
/**
* Details for a step that performs a file copy.
* @property destinationFileLocation
* @property name The name of the step, used as an identifier.
* @property overwriteExisting A flag that indicates whether or not to overwrite an existing file of the same name. The default is FALSE.
* @property sourceFileLocation Specifies which file to use as input to the workflow step.
*/
public data class WorkflowStepCopyStepDetailsProperties(
public val destinationFileLocation: WorkflowS3FileLocation? = null,
public val name: String? = null,
public val overwriteExisting: WorkflowStepCopyStepDetailsPropertiesOverwriteExisting? = null,
public val sourceFileLocation: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.transfer.outputs.WorkflowStepCopyStepDetailsProperties): WorkflowStepCopyStepDetailsProperties = WorkflowStepCopyStepDetailsProperties(
destinationFileLocation = javaType.destinationFileLocation().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.transfer.kotlin.outputs.WorkflowS3FileLocation.Companion.toKotlin(args0)
})
}).orElse(null),
name = javaType.name().map({ args0 -> args0 }).orElse(null),
overwriteExisting = javaType.overwriteExisting().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.transfer.kotlin.enums.WorkflowStepCopyStepDetailsPropertiesOverwriteExisting.Companion.toKotlin(args0)
})
}).orElse(null),
sourceFileLocation = javaType.sourceFileLocation().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy