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

com.pulumi.awsnative.transfer.kotlin.outputs.WorkflowStepDecryptStepDetailsProperties.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.transfer.kotlin.outputs

import com.pulumi.awsnative.transfer.kotlin.enums.WorkflowStepDecryptStepDetailsPropertiesOverwriteExisting
import com.pulumi.awsnative.transfer.kotlin.enums.WorkflowStepDecryptStepDetailsPropertiesType
import kotlin.String
import kotlin.Suppress

/**
 * Details for a step that performs a file decryption.
 * @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.
 * @property type Specifies which encryption method to use.
 */
public data class WorkflowStepDecryptStepDetailsProperties(
    public val destinationFileLocation: WorkflowInputFileLocation,
    public val name: String? = null,
    public val overwriteExisting: WorkflowStepDecryptStepDetailsPropertiesOverwriteExisting? = null,
    public val sourceFileLocation: String? = null,
    public val type: WorkflowStepDecryptStepDetailsPropertiesType,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.transfer.outputs.WorkflowStepDecryptStepDetailsProperties): WorkflowStepDecryptStepDetailsProperties = WorkflowStepDecryptStepDetailsProperties(
            destinationFileLocation = javaType.destinationFileLocation().let({ args0 ->
                com.pulumi.awsnative.transfer.kotlin.outputs.WorkflowInputFileLocation.Companion.toKotlin(args0)
            }),
            name = javaType.name().map({ args0 -> args0 }).orElse(null),
            overwriteExisting = javaType.overwriteExisting().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.transfer.kotlin.enums.WorkflowStepDecryptStepDetailsPropertiesOverwriteExisting.Companion.toKotlin(args0)
                })
            }).orElse(null),
            sourceFileLocation = javaType.sourceFileLocation().map({ args0 -> args0 }).orElse(null),
            type = javaType.type().let({ args0 ->
                com.pulumi.awsnative.transfer.kotlin.enums.WorkflowStepDecryptStepDetailsPropertiesType.Companion.toKotlin(args0)
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy