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

com.pulumi.aws.transfer.inputs.WorkflowStepCustomStepDetailsArgs 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.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final WorkflowStepCustomStepDetailsArgs Empty = new WorkflowStepCustomStepDetailsArgs();

    /**
     * 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);
    }

    /**
     * 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 ARN for the lambda function that is being called.
     * 
     */
    @Import(name="target")
    private @Nullable Output target;

    /**
     * @return The ARN for the lambda function that is being called.
     * 
     */
    public Optional> target() {
        return Optional.ofNullable(this.target);
    }

    /**
     * Timeout, in seconds, for the step.
     * 
     */
    @Import(name="timeoutSeconds")
    private @Nullable Output timeoutSeconds;

    /**
     * @return Timeout, in seconds, for the step.
     * 
     */
    public Optional> timeoutSeconds() {
        return Optional.ofNullable(this.timeoutSeconds);
    }

    private WorkflowStepCustomStepDetailsArgs() {}

    private WorkflowStepCustomStepDetailsArgs(WorkflowStepCustomStepDetailsArgs $) {
        this.name = $.name;
        this.sourceFileLocation = $.sourceFileLocation;
        this.target = $.target;
        this.timeoutSeconds = $.timeoutSeconds;
    }

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

    public static final class Builder {
        private WorkflowStepCustomStepDetailsArgs $;

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

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

        /**
         * @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 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 target The ARN for the lambda function that is being called.
         * 
         * @return builder
         * 
         */
        public Builder target(@Nullable Output target) {
            $.target = target;
            return this;
        }

        /**
         * @param target The ARN for the lambda function that is being called.
         * 
         * @return builder
         * 
         */
        public Builder target(String target) {
            return target(Output.of(target));
        }

        /**
         * @param timeoutSeconds Timeout, in seconds, for the step.
         * 
         * @return builder
         * 
         */
        public Builder timeoutSeconds(@Nullable Output timeoutSeconds) {
            $.timeoutSeconds = timeoutSeconds;
            return this;
        }

        /**
         * @param timeoutSeconds Timeout, in seconds, for the step.
         * 
         * @return builder
         * 
         */
        public Builder timeoutSeconds(Integer timeoutSeconds) {
            return timeoutSeconds(Output.of(timeoutSeconds));
        }

        public WorkflowStepCustomStepDetailsArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy