Class CfnWorkflow.WorkflowStepProperty.Builder
java.lang.Object
software.amazon.awscdk.services.transfer.CfnWorkflow.WorkflowStepProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkflow.WorkflowStepProperty>
- Enclosing interface:
CfnWorkflow.WorkflowStepProperty
@Stability(Stable)
public static final class CfnWorkflow.WorkflowStepProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkflow.WorkflowStepProperty>
A builder for
CfnWorkflow.WorkflowStepProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.copyStepDetails
(Object copyStepDetails) Sets the value ofCfnWorkflow.WorkflowStepProperty.getCopyStepDetails()
customStepDetails
(Object customStepDetails) Sets the value ofCfnWorkflow.WorkflowStepProperty.getCustomStepDetails()
decryptStepDetails
(IResolvable decryptStepDetails) Sets the value ofCfnWorkflow.WorkflowStepProperty.getDecryptStepDetails()
decryptStepDetails
(CfnWorkflow.DecryptStepDetailsProperty decryptStepDetails) Sets the value ofCfnWorkflow.WorkflowStepProperty.getDecryptStepDetails()
deleteStepDetails
(Object deleteStepDetails) Sets the value ofCfnWorkflow.WorkflowStepProperty.getDeleteStepDetails()
tagStepDetails
(Object tagStepDetails) Sets the value ofCfnWorkflow.WorkflowStepProperty.getTagStepDetails()
Sets the value ofCfnWorkflow.WorkflowStepProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copyStepDetails
@Stability(Stable) public CfnWorkflow.WorkflowStepProperty.Builder copyStepDetails(Object copyStepDetails) Sets the value ofCfnWorkflow.WorkflowStepProperty.getCopyStepDetails()
- Parameters:
copyStepDetails
- Details for a step that performs a file copy. Consists of the following values:- A description
- An Amazon S3 location for the destination of the file copy.
- A flag that indicates whether to overwrite an existing file of the same name. The default is
FALSE
.
- Returns:
this
-
customStepDetails
@Stability(Stable) public CfnWorkflow.WorkflowStepProperty.Builder customStepDetails(Object customStepDetails) Sets the value ofCfnWorkflow.WorkflowStepProperty.getCustomStepDetails()
- Parameters:
customStepDetails
- Details for a step that invokes an AWS Lambda function. Consists of the Lambda function's name, target, and timeout (in seconds).- Returns:
this
-
decryptStepDetails
@Stability(Stable) public CfnWorkflow.WorkflowStepProperty.Builder decryptStepDetails(IResolvable decryptStepDetails) Sets the value ofCfnWorkflow.WorkflowStepProperty.getDecryptStepDetails()
- Parameters:
decryptStepDetails
- Details for a step that decrypts an encrypted file. Consists of the following values:- A descriptive name
- An Amazon S3 or Amazon Elastic File System (Amazon EFS) location for the source file to decrypt.
- An S3 or Amazon EFS location for the destination of the file decryption.
- A flag that indicates whether to overwrite an existing file of the same name. The default is
FALSE
. - The type of encryption that's used. Currently, only PGP encryption is supported.
- Returns:
this
-
decryptStepDetails
@Stability(Stable) public CfnWorkflow.WorkflowStepProperty.Builder decryptStepDetails(CfnWorkflow.DecryptStepDetailsProperty decryptStepDetails) Sets the value ofCfnWorkflow.WorkflowStepProperty.getDecryptStepDetails()
- Parameters:
decryptStepDetails
- Details for a step that decrypts an encrypted file. Consists of the following values:- A descriptive name
- An Amazon S3 or Amazon Elastic File System (Amazon EFS) location for the source file to decrypt.
- An S3 or Amazon EFS location for the destination of the file decryption.
- A flag that indicates whether to overwrite an existing file of the same name. The default is
FALSE
. - The type of encryption that's used. Currently, only PGP encryption is supported.
- Returns:
this
-
deleteStepDetails
@Stability(Stable) public CfnWorkflow.WorkflowStepProperty.Builder deleteStepDetails(Object deleteStepDetails) Sets the value ofCfnWorkflow.WorkflowStepProperty.getDeleteStepDetails()
- Parameters:
deleteStepDetails
- Details for a step that deletes the file.- Returns:
this
-
tagStepDetails
@Stability(Stable) public CfnWorkflow.WorkflowStepProperty.Builder tagStepDetails(Object tagStepDetails) Sets the value ofCfnWorkflow.WorkflowStepProperty.getTagStepDetails()
- Parameters:
tagStepDetails
- Details for a step that creates one or more tags. You specify one or more tags. Each tag contains a key-value pair.- Returns:
this
-
type
Sets the value ofCfnWorkflow.WorkflowStepProperty.getType()
- Parameters:
type
- Currently, the following step types are supported.COPY
- Copy the file to another location.CUSTOM
- Perform a custom step with an AWS Lambda function target.DECRYPT
- Decrypt a file that was encrypted before it was uploaded.DELETE
- Delete the file.TAG
- Add a tag to the file.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnWorkflow.WorkflowStepProperty>
- Returns:
- a new instance of
CfnWorkflow.WorkflowStepProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-