Class CfnWorkflow.DecryptStepDetailsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.transfer.CfnWorkflow.DecryptStepDetailsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkflow.DecryptStepDetailsProperty>
- Enclosing interface:
- CfnWorkflow.DecryptStepDetailsProperty
@Stability(Stable)
public static final class CfnWorkflow.DecryptStepDetailsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkflow.DecryptStepDetailsProperty>
A builder for
CfnWorkflow.DecryptStepDetailsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.destinationFileLocation(IResolvable destinationFileLocation) Sets the value ofCfnWorkflow.DecryptStepDetailsProperty.getDestinationFileLocation()destinationFileLocation(CfnWorkflow.InputFileLocationProperty destinationFileLocation) Sets the value ofCfnWorkflow.DecryptStepDetailsProperty.getDestinationFileLocation()Sets the value ofCfnWorkflow.DecryptStepDetailsProperty.getName()overwriteExisting(String overwriteExisting) Sets the value ofCfnWorkflow.DecryptStepDetailsProperty.getOverwriteExisting()sourceFileLocation(String sourceFileLocation) Sets the value ofCfnWorkflow.DecryptStepDetailsProperty.getSourceFileLocation()Sets the value ofCfnWorkflow.DecryptStepDetailsProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destinationFileLocation
@Stability(Stable) public CfnWorkflow.DecryptStepDetailsProperty.Builder destinationFileLocation(IResolvable destinationFileLocation) Sets the value ofCfnWorkflow.DecryptStepDetailsProperty.getDestinationFileLocation()- Parameters:
destinationFileLocation- Specifies the location for the file being decrypted. Use${Transfer:UserName}or${Transfer:UploadDate}in this field to parametrize the destination prefix by username or uploaded date.- Set the value of
DestinationFileLocationto${Transfer:UserName}to decrypt uploaded files to an Amazon S3 bucket that is prefixed with the name of the Transfer Family user that uploaded the file. - Set the value of
DestinationFileLocationto${Transfer:UploadDate}to decrypt uploaded files to an Amazon S3 bucket that is prefixed with the date of the upload.
The system resolves
UploadDateto a date format of YYYY-MM-DD , based on the date the file is uploaded in UTC.- Set the value of
- Returns:
this
-
destinationFileLocation
@Stability(Stable) public CfnWorkflow.DecryptStepDetailsProperty.Builder destinationFileLocation(CfnWorkflow.InputFileLocationProperty destinationFileLocation) Sets the value ofCfnWorkflow.DecryptStepDetailsProperty.getDestinationFileLocation()- Parameters:
destinationFileLocation- Specifies the location for the file being decrypted. Use${Transfer:UserName}or${Transfer:UploadDate}in this field to parametrize the destination prefix by username or uploaded date.- Set the value of
DestinationFileLocationto${Transfer:UserName}to decrypt uploaded files to an Amazon S3 bucket that is prefixed with the name of the Transfer Family user that uploaded the file. - Set the value of
DestinationFileLocationto${Transfer:UploadDate}to decrypt uploaded files to an Amazon S3 bucket that is prefixed with the date of the upload.
The system resolves
UploadDateto a date format of YYYY-MM-DD , based on the date the file is uploaded in UTC.- Set the value of
- Returns:
this
-
name
Sets the value ofCfnWorkflow.DecryptStepDetailsProperty.getName()- Parameters:
name- The name of the step, used as an identifier.- Returns:
this
-
overwriteExisting
@Stability(Stable) public CfnWorkflow.DecryptStepDetailsProperty.Builder overwriteExisting(String overwriteExisting) Sets the value ofCfnWorkflow.DecryptStepDetailsProperty.getOverwriteExisting()- Parameters:
overwriteExisting- A flag that indicates whether to overwrite an existing file of the same name. The default isFALSE. If the workflow is processing a file that has the same name as an existing file, the behavior is as follows:- If
OverwriteExistingisTRUE, the existing file is replaced with the file being processed. - If
OverwriteExistingisFALSE, nothing happens, and the workflow processing stops.
- If
- Returns:
this
-
sourceFileLocation
@Stability(Stable) public CfnWorkflow.DecryptStepDetailsProperty.Builder sourceFileLocation(String sourceFileLocation) Sets the value ofCfnWorkflow.DecryptStepDetailsProperty.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
-
type
Sets the value ofCfnWorkflow.DecryptStepDetailsProperty.getType()- Parameters:
type- The type of encryption used. Currently, this value must bePGP.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkflow.DecryptStepDetailsProperty>- Returns:
- a new instance of
CfnWorkflow.DecryptStepDetailsProperty - Throws:
NullPointerException- if any required attribute was not provided
-