Class CfnWorkflow.CustomStepDetailsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.transfer.CfnWorkflow.CustomStepDetailsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkflow.CustomStepDetailsProperty>
- Enclosing interface:
CfnWorkflow.CustomStepDetailsProperty
@Stability(Stable)
public static final class CfnWorkflow.CustomStepDetailsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkflow.CustomStepDetailsProperty>
A builder for
CfnWorkflow.CustomStepDetailsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnWorkflow.CustomStepDetailsProperty.getName()sourceFileLocation(String sourceFileLocation) Sets the value ofCfnWorkflow.CustomStepDetailsProperty.getSourceFileLocation()Sets the value ofCfnWorkflow.CustomStepDetailsProperty.getTarget()timeoutSeconds(Number timeoutSeconds) Sets the value ofCfnWorkflow.CustomStepDetailsProperty.getTimeoutSeconds()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnWorkflow.CustomStepDetailsProperty.getName()- Parameters:
name- The name of the step, used as an identifier.- Returns:
this
-
sourceFileLocation
@Stability(Stable) public CfnWorkflow.CustomStepDetailsProperty.Builder sourceFileLocation(String sourceFileLocation) Sets the value ofCfnWorkflow.CustomStepDetailsProperty.getSourceFileLocation()- Parameters:
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.- To use the previous file as the input, enter
${previous.file}. In this case, this workflow step uses the output file from the previous workflow step as input. This is the default value. - To use the originally uploaded file location as input for this step, enter
${original.file}.
- To use the previous file as the input, enter
- Returns:
this
-
target
Sets the value ofCfnWorkflow.CustomStepDetailsProperty.getTarget()- Parameters:
target- The ARN for the Lambda function that is being called.- Returns:
this
-
timeoutSeconds
@Stability(Stable) public CfnWorkflow.CustomStepDetailsProperty.Builder timeoutSeconds(Number timeoutSeconds) Sets the value ofCfnWorkflow.CustomStepDetailsProperty.getTimeoutSeconds()- Parameters:
timeoutSeconds- Timeout, in seconds, for the step.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkflow.CustomStepDetailsProperty>- Returns:
- a new instance of
CfnWorkflow.CustomStepDetailsProperty - Throws:
NullPointerException- if any required attribute was not provided
-