Interface WorkflowStep.Builder

    • Method Detail

      • type

        WorkflowStep.Builder type​(String type)

        Currently, the following step types are supported.

        • COPY - Copy the file to another location.

        • CUSTOM - Perform a custom step with an 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.

        Parameters:
        type - Currently, the following step types are supported.

        • COPY - Copy the file to another location.

        • CUSTOM - Perform a custom step with an 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:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        WorkflowStepType, WorkflowStepType
      • type

        WorkflowStep.Builder type​(WorkflowStepType type)

        Currently, the following step types are supported.

        • COPY - Copy the file to another location.

        • CUSTOM - Perform a custom step with an 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.

        Parameters:
        type - Currently, the following step types are supported.

        • COPY - Copy the file to another location.

        • CUSTOM - Perform a custom step with an 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:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        WorkflowStepType, WorkflowStepType
      • copyStepDetails

        WorkflowStep.Builder copyStepDetails​(CopyStepDetails 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.

        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:
        Returns a reference to this object so that method calls can be chained together.
      • customStepDetails

        WorkflowStep.Builder customStepDetails​(CustomStepDetails customStepDetails)

        Details for a step that invokes an Lambda function.

        Consists of the Lambda function's name, target, and timeout (in seconds).

        Parameters:
        customStepDetails - Details for a step that invokes an Lambda function.

        Consists of the Lambda function's name, target, and timeout (in seconds).

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deleteStepDetails

        WorkflowStep.Builder deleteStepDetails​(DeleteStepDetails deleteStepDetails)

        Details for a step that deletes the file.

        Parameters:
        deleteStepDetails - Details for a step that deletes the file.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tagStepDetails

        WorkflowStep.Builder tagStepDetails​(TagStepDetails tagStepDetails)

        Details for a step that creates one or more tags.

        You specify one or more tags. Each tag contains a key-value pair.

        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:
        Returns a reference to this object so that method calls can be chained together.
      • decryptStepDetails

        WorkflowStep.Builder decryptStepDetails​(DecryptStepDetails 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.

        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:
        Returns a reference to this object so that method calls can be chained together.