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>
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • destinationFileLocation

      @Stability(Stable) public CfnWorkflow.DecryptStepDetailsProperty.Builder destinationFileLocation(IResolvable destinationFileLocation)
      Parameters:
      destinationFileLocation - Specifies the location for the file being decrypted. This parameter is required. Use ${Transfer:UserName} or ${Transfer:UploadDate} in this field to parametrize the destination prefix by username or uploaded date.

      • Set the value of DestinationFileLocation to ${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 DestinationFileLocation to ${Transfer:UploadDate} to decrypt uploaded files to an Amazon S3 bucket that is prefixed with the date of the upload.

      The system resolves UploadDate to a date format of YYYY-MM-DD , based on the date the file is uploaded in UTC.

      Returns:
      this
    • destinationFileLocation

      @Stability(Stable) public CfnWorkflow.DecryptStepDetailsProperty.Builder destinationFileLocation(CfnWorkflow.InputFileLocationProperty destinationFileLocation)
      Parameters:
      destinationFileLocation - Specifies the location for the file being decrypted. This parameter is required. Use ${Transfer:UserName} or ${Transfer:UploadDate} in this field to parametrize the destination prefix by username or uploaded date.

      • Set the value of DestinationFileLocation to ${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 DestinationFileLocation to ${Transfer:UploadDate} to decrypt uploaded files to an Amazon S3 bucket that is prefixed with the date of the upload.

      The system resolves UploadDate to a date format of YYYY-MM-DD , based on the date the file is uploaded in UTC.

      Returns:
      this
    • type

      @Stability(Stable) public CfnWorkflow.DecryptStepDetailsProperty.Builder type(String type)
      Parameters:
      type - The type of encryption used. This parameter is required. Currently, this value must be PGP .
      Returns:
      this
    • name

      @Stability(Stable) public CfnWorkflow.DecryptStepDetailsProperty.Builder name(String name)
      Parameters:
      name - The name of the step, used as an identifier.
      Returns:
      this
    • overwriteExisting

      @Stability(Stable) public CfnWorkflow.DecryptStepDetailsProperty.Builder overwriteExisting(String overwriteExisting)
      Parameters:
      overwriteExisting - A flag that indicates whether to overwrite an existing file of the same name. The default is FALSE . If the workflow is processing a file that has the same name as an existing file, the behavior is as follows:

      • If OverwriteExisting is TRUE , the existing file is replaced with the file being processed.
      • If OverwriteExisting is FALSE , nothing happens, and the workflow processing stops.
      Returns:
      this
    • sourceFileLocation

      @Stability(Stable) public CfnWorkflow.DecryptStepDetailsProperty.Builder sourceFileLocation(String sourceFileLocation)
      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} .
      Returns:
      this
    • build

      @Stability(Stable) public CfnWorkflow.DecryptStepDetailsProperty build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnWorkflow.DecryptStepDetailsProperty>
      Returns:
      a new instance of CfnWorkflow.DecryptStepDetailsProperty
      Throws:
      NullPointerException - if any required attribute was not provided