@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WorkflowDetails extends Object implements Serializable, Cloneable, StructuredPojo
Container for the WorkflowDetail data type. It is used by actions that trigger a workflow to begin
execution.
| Constructor and Description |
|---|
WorkflowDetails() |
| Modifier and Type | Method and Description |
|---|---|
WorkflowDetails |
clone() |
boolean |
equals(Object obj) |
List<WorkflowDetail> |
getOnUpload()
A trigger that starts a workflow: the workflow begins to execute after a file is uploaded.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setOnUpload(Collection<WorkflowDetail> onUpload)
A trigger that starts a workflow: the workflow begins to execute after a file is uploaded.
|
String |
toString()
Returns a string representation of this object.
|
WorkflowDetails |
withOnUpload(Collection<WorkflowDetail> onUpload)
A trigger that starts a workflow: the workflow begins to execute after a file is uploaded.
|
WorkflowDetails |
withOnUpload(WorkflowDetail... onUpload)
A trigger that starts a workflow: the workflow begins to execute after a file is uploaded.
|
public List<WorkflowDetail> getOnUpload()
A trigger that starts a workflow: the workflow begins to execute after a file is uploaded.
To remove an associated workflow from a server, you can provide an empty OnUpload object, as in the
following example.
aws transfer update-server --server-id s-01234567890abcdef --workflow-details '{"OnUpload":[]}'
To remove an associated workflow from a server, you can provide an empty OnUpload object, as
in the following example.
aws transfer update-server --server-id s-01234567890abcdef --workflow-details '{"OnUpload":[]}'
public void setOnUpload(Collection<WorkflowDetail> onUpload)
A trigger that starts a workflow: the workflow begins to execute after a file is uploaded.
To remove an associated workflow from a server, you can provide an empty OnUpload object, as in the
following example.
aws transfer update-server --server-id s-01234567890abcdef --workflow-details '{"OnUpload":[]}'
onUpload - A trigger that starts a workflow: the workflow begins to execute after a file is uploaded.
To remove an associated workflow from a server, you can provide an empty OnUpload object, as
in the following example.
aws transfer update-server --server-id s-01234567890abcdef --workflow-details '{"OnUpload":[]}'
public WorkflowDetails withOnUpload(WorkflowDetail... onUpload)
A trigger that starts a workflow: the workflow begins to execute after a file is uploaded.
To remove an associated workflow from a server, you can provide an empty OnUpload object, as in the
following example.
aws transfer update-server --server-id s-01234567890abcdef --workflow-details '{"OnUpload":[]}'
NOTE: This method appends the values to the existing list (if any). Use
setOnUpload(java.util.Collection) or withOnUpload(java.util.Collection) if you want to override
the existing values.
onUpload - A trigger that starts a workflow: the workflow begins to execute after a file is uploaded.
To remove an associated workflow from a server, you can provide an empty OnUpload object, as
in the following example.
aws transfer update-server --server-id s-01234567890abcdef --workflow-details '{"OnUpload":[]}'
public WorkflowDetails withOnUpload(Collection<WorkflowDetail> onUpload)
A trigger that starts a workflow: the workflow begins to execute after a file is uploaded.
To remove an associated workflow from a server, you can provide an empty OnUpload object, as in the
following example.
aws transfer update-server --server-id s-01234567890abcdef --workflow-details '{"OnUpload":[]}'
onUpload - A trigger that starts a workflow: the workflow begins to execute after a file is uploaded.
To remove an associated workflow from a server, you can provide an empty OnUpload object, as
in the following example.
aws transfer update-server --server-id s-01234567890abcdef --workflow-details '{"OnUpload":[]}'
public String toString()
toString in class ObjectObject.toString()public WorkflowDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.