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

com.pulumi.aws.transfer.inputs.WorkflowOnExceptionStepDecryptStepDetailsArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.aws.transfer.inputs;

import com.pulumi.aws.transfer.inputs.WorkflowOnExceptionStepDecryptStepDetailsDestinationFileLocationArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class WorkflowOnExceptionStepDecryptStepDetailsArgs extends com.pulumi.resources.ResourceArgs {

    public static final WorkflowOnExceptionStepDecryptStepDetailsArgs Empty = new WorkflowOnExceptionStepDecryptStepDetailsArgs();

    /**
     * Specifies the location for the file being copied. Use ${Transfer:username} in this field to parametrize the destination prefix by username.
     * 
     */
    @Import(name="destinationFileLocation")
    private @Nullable Output destinationFileLocation;

    /**
     * @return Specifies the location for the file being copied. Use ${Transfer:username} in this field to parametrize the destination prefix by username.
     * 
     */
    public Optional> destinationFileLocation() {
        return Optional.ofNullable(this.destinationFileLocation);
    }

    /**
     * The name of the step, used as an identifier.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name of the step, used as an identifier.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * A flag that indicates whether or not to overwrite an existing file of the same name. The default is `FALSE`. Valid values are `TRUE` and `FALSE`.
     * 
     */
    @Import(name="overwriteExisting")
    private @Nullable Output overwriteExisting;

    /**
     * @return A flag that indicates whether or not to overwrite an existing file of the same name. The default is `FALSE`. Valid values are `TRUE` and `FALSE`.
     * 
     */
    public Optional> overwriteExisting() {
        return Optional.ofNullable(this.overwriteExisting);
    }

    /**
     * Specifies which file to use as input to the workflow step: either the output from the previous step, or the originally uploaded file for the workflow. Enter ${previous.file} to use the previous file as the input. In this case, this workflow step uses the output file from the previous workflow step as input. This is the default value. Enter ${original.file} to use the originally-uploaded file location as input for this step.
     * 
     */
    @Import(name="sourceFileLocation")
    private @Nullable Output sourceFileLocation;

    /**
     * @return Specifies which file to use as input to the workflow step: either the output from the previous step, or the originally uploaded file for the workflow. Enter ${previous.file} to use the previous file as the input. In this case, this workflow step uses the output file from the previous workflow step as input. This is the default value. Enter ${original.file} to use the originally-uploaded file location as input for this step.
     * 
     */
    public Optional> sourceFileLocation() {
        return Optional.ofNullable(this.sourceFileLocation);
    }

    /**
     * The type of encryption used. Currently, this value must be `"PGP"`.
     * 
     */
    @Import(name="type", required=true)
    private Output type;

    /**
     * @return The type of encryption used. Currently, this value must be `"PGP"`.
     * 
     */
    public Output type() {
        return this.type;
    }

    private WorkflowOnExceptionStepDecryptStepDetailsArgs() {}

    private WorkflowOnExceptionStepDecryptStepDetailsArgs(WorkflowOnExceptionStepDecryptStepDetailsArgs $) {
        this.destinationFileLocation = $.destinationFileLocation;
        this.name = $.name;
        this.overwriteExisting = $.overwriteExisting;
        this.sourceFileLocation = $.sourceFileLocation;
        this.type = $.type;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(WorkflowOnExceptionStepDecryptStepDetailsArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private WorkflowOnExceptionStepDecryptStepDetailsArgs $;

        public Builder() {
            $ = new WorkflowOnExceptionStepDecryptStepDetailsArgs();
        }

        public Builder(WorkflowOnExceptionStepDecryptStepDetailsArgs defaults) {
            $ = new WorkflowOnExceptionStepDecryptStepDetailsArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param destinationFileLocation Specifies the location for the file being copied. Use ${Transfer:username} in this field to parametrize the destination prefix by username.
         * 
         * @return builder
         * 
         */
        public Builder destinationFileLocation(@Nullable Output destinationFileLocation) {
            $.destinationFileLocation = destinationFileLocation;
            return this;
        }

        /**
         * @param destinationFileLocation Specifies the location for the file being copied. Use ${Transfer:username} in this field to parametrize the destination prefix by username.
         * 
         * @return builder
         * 
         */
        public Builder destinationFileLocation(WorkflowOnExceptionStepDecryptStepDetailsDestinationFileLocationArgs destinationFileLocation) {
            return destinationFileLocation(Output.of(destinationFileLocation));
        }

        /**
         * @param name The name of the step, used as an identifier.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name of the step, used as an identifier.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param overwriteExisting A flag that indicates whether or not to overwrite an existing file of the same name. The default is `FALSE`. Valid values are `TRUE` and `FALSE`.
         * 
         * @return builder
         * 
         */
        public Builder overwriteExisting(@Nullable Output overwriteExisting) {
            $.overwriteExisting = overwriteExisting;
            return this;
        }

        /**
         * @param overwriteExisting A flag that indicates whether or not to overwrite an existing file of the same name. The default is `FALSE`. Valid values are `TRUE` and `FALSE`.
         * 
         * @return builder
         * 
         */
        public Builder overwriteExisting(String overwriteExisting) {
            return overwriteExisting(Output.of(overwriteExisting));
        }

        /**
         * @param sourceFileLocation Specifies which file to use as input to the workflow step: either the output from the previous step, or the originally uploaded file for the workflow. Enter ${previous.file} to use the previous file as the input. In this case, this workflow step uses the output file from the previous workflow step as input. This is the default value. Enter ${original.file} to use the originally-uploaded file location as input for this step.
         * 
         * @return builder
         * 
         */
        public Builder sourceFileLocation(@Nullable Output sourceFileLocation) {
            $.sourceFileLocation = sourceFileLocation;
            return this;
        }

        /**
         * @param sourceFileLocation Specifies which file to use as input to the workflow step: either the output from the previous step, or the originally uploaded file for the workflow. Enter ${previous.file} to use the previous file as the input. In this case, this workflow step uses the output file from the previous workflow step as input. This is the default value. Enter ${original.file} to use the originally-uploaded file location as input for this step.
         * 
         * @return builder
         * 
         */
        public Builder sourceFileLocation(String sourceFileLocation) {
            return sourceFileLocation(Output.of(sourceFileLocation));
        }

        /**
         * @param type The type of encryption used. Currently, this value must be `"PGP"`.
         * 
         * @return builder
         * 
         */
        public Builder type(Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type The type of encryption used. Currently, this value must be `"PGP"`.
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

        public WorkflowOnExceptionStepDecryptStepDetailsArgs build() {
            if ($.type == null) {
                throw new MissingRequiredPropertyException("WorkflowOnExceptionStepDecryptStepDetailsArgs", "type");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy