Interface CreateWorkflowRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<CreateWorkflowRequest.Builder,,- CreateWorkflowRequest> - SdkBuilder<CreateWorkflowRequest.Builder,,- CreateWorkflowRequest> - SdkPojo,- SdkRequest.Builder,- TransferRequest.Builder
- Enclosing class:
- CreateWorkflowRequest
- 
Method SummaryModifier and TypeMethodDescriptiondescription(String description) A textual description for the workflow.onExceptionSteps(Collection<WorkflowStep> onExceptionSteps) Specifies the steps (actions) to take if errors are encountered during execution of the workflow.onExceptionSteps(Consumer<WorkflowStep.Builder>... onExceptionSteps) Specifies the steps (actions) to take if errors are encountered during execution of the workflow.onExceptionSteps(WorkflowStep... onExceptionSteps) Specifies the steps (actions) to take if errors are encountered during execution of the workflow.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.steps(Collection<WorkflowStep> steps) Specifies the details for the steps that are in the specified workflow.steps(Consumer<WorkflowStep.Builder>... steps) Specifies the details for the steps that are in the specified workflow.steps(WorkflowStep... steps) Specifies the details for the steps that are in the specified workflow.tags(Collection<Tag> tags) Key-value pairs that can be used to group and search for workflows.tags(Consumer<Tag.Builder>... tags) Key-value pairs that can be used to group and search for workflows.Key-value pairs that can be used to group and search for workflows.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.transfer.model.TransferRequest.Builderbuild
- 
Method Details- 
descriptionA textual description for the workflow. - Parameters:
- description- A textual description for the workflow.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
stepsSpecifies the details for the steps that are in the specified workflow. The TYPEspecifies which of the following actions is being taken for this step.- 
 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.
 Currently, copying and tagging are supported only on S3. For file location, you specify either the Amazon S3 bucket and key, or the Amazon EFS file system ID and path. - Parameters:
- steps- Specifies the details for the steps that are in the specified workflow.- The - TYPEspecifies which of the following actions is being taken for this step.- 
        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.
 - Currently, copying and tagging are supported only on S3. - For file location, you specify either the Amazon S3 bucket and key, or the Amazon EFS file system ID and path. 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
 
- 
stepsSpecifies the details for the steps that are in the specified workflow. The TYPEspecifies which of the following actions is being taken for this step.- 
 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.
 Currently, copying and tagging are supported only on S3. For file location, you specify either the Amazon S3 bucket and key, or the Amazon EFS file system ID and path. - Parameters:
- steps- Specifies the details for the steps that are in the specified workflow.- The - TYPEspecifies which of the following actions is being taken for this step.- 
        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.
 - Currently, copying and tagging are supported only on S3. - For file location, you specify either the Amazon S3 bucket and key, or the Amazon EFS file system ID and path. 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
 
- 
stepsSpecifies the details for the steps that are in the specified workflow. The TYPEspecifies which of the following actions is being taken for this step.- 
 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.
 Currently, copying and tagging are supported only on S3. For file location, you specify either the Amazon S3 bucket and key, or the Amazon EFS file system ID and path. This is a convenience method that creates an instance of theWorkflowStep.Builderavoiding the need to create one manually viaWorkflowStep.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosteps(List<WorkflowStep>).- Parameters:
- steps- a consumer that will call methods on- WorkflowStep.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
 
- 
onExceptionStepsSpecifies the steps (actions) to take if errors are encountered during execution of the workflow. For custom steps, the Lambda function needs to send FAILUREto the call back API to kick off the exception steps. Additionally, if the Lambda does not sendSUCCESSbefore it times out, the exception steps are executed.- Parameters:
- onExceptionSteps- Specifies the steps (actions) to take if errors are encountered during execution of the workflow.- For custom steps, the Lambda function needs to send - FAILUREto the call back API to kick off the exception steps. Additionally, if the Lambda does not send- SUCCESSbefore it times out, the exception steps are executed.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
onExceptionStepsSpecifies the steps (actions) to take if errors are encountered during execution of the workflow. For custom steps, the Lambda function needs to send FAILUREto the call back API to kick off the exception steps. Additionally, if the Lambda does not sendSUCCESSbefore it times out, the exception steps are executed.- Parameters:
- onExceptionSteps- Specifies the steps (actions) to take if errors are encountered during execution of the workflow.- For custom steps, the Lambda function needs to send - FAILUREto the call back API to kick off the exception steps. Additionally, if the Lambda does not send- SUCCESSbefore it times out, the exception steps are executed.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
onExceptionStepsSpecifies the steps (actions) to take if errors are encountered during execution of the workflow. For custom steps, the Lambda function needs to send FAILUREto the call back API to kick off the exception steps. Additionally, if the Lambda does not sendSUCCESSbefore it times out, the exception steps are executed.WorkflowStep.Builderavoiding the need to create one manually viaWorkflowStep.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toonExceptionSteps(List<WorkflowStep>).- Parameters:
- onExceptionSteps- a consumer that will call methods on- WorkflowStep.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
tagsKey-value pairs that can be used to group and search for workflows. Tags are metadata attached to workflows for any purpose. - Parameters:
- tags- Key-value pairs that can be used to group and search for workflows. Tags are metadata attached to workflows for any purpose.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
tagsKey-value pairs that can be used to group and search for workflows. Tags are metadata attached to workflows for any purpose. - Parameters:
- tags- Key-value pairs that can be used to group and search for workflows. Tags are metadata attached to workflows for any purpose.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
tagsKey-value pairs that can be used to group and search for workflows. Tags are metadata attached to workflows for any purpose. This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
- tags- a consumer that will call methods on- Tag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
overrideConfigurationCreateWorkflowRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationCreateWorkflowRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-