/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.transfer.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *

* The basic building block of a workflow. *

* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class WorkflowStep implements Serializable, Cloneable, StructuredPojo { /** *

* Currently, the following step types are supported. *

* */ private String type; /** *

* Details for a step that performs a file copy. *

*

* Consists of the following values: *

* */ private CopyStepDetails copyStepDetails; /** *

* Details for a step that invokes an Lambda function. *

*

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

*/ private CustomStepDetails customStepDetails; /** *

* Details for a step that deletes the file. *

*/ private DeleteStepDetails deleteStepDetails; /** *

* Details for a step that creates one or more tags. *

*

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

*/ private TagStepDetails tagStepDetails; /** *

* Details for a step that decrypts an encrypted file. *

*

* Consists of the following values: *

* */ private DecryptStepDetails decryptStepDetails; /** *

* Currently, the following step types are supported. *

* * * @param type * Currently, the following step types are supported.

*