public void setWorkflowDetails(WorkflowDetails workflowDetails) {
        this.workflowDetails = workflowDetails;
    }
<p>
Specifies the workflow ID for the workflow to assign and the execution role that's used for executing the
workflow.
</p>
<p>
In addition to a workflow to execute when a file is uploaded completely, <code>WorkflowDetails</code> can also
contain a workflow ID (and execution role) for a workflow to execute on partial upload. A partial upload occurs
when the server session disconnects while the file is still being uploaded.
</p>
<p>
To remove an associated workflow from a server, you can provide an empty <code>OnUpload</code> object, as in the
following example.
</p>
<p>
<code>aws transfer update-server --server-id s-01234567890abcdef --workflow-details '{"OnUpload":[]}'</code>
</p>

@param workflowDetails
       Specifies the workflow ID for the workflow to assign and the execution role that's used for executing the
       workflow.</p>
       <p>
       In addition to a workflow to execute when a file is uploaded completely, <code>WorkflowDetails</code> can
       also contain a workflow ID (and execution role) for a workflow to execute on partial upload. A partial
       upload occurs when the server session disconnects while the file is still being uploaded.
       </p>
       <p>
       To remove an associated workflow from a server, you can provide an empty <code>OnUpload</code> object, as
       in the following example.
       </p>
       <p>
       <code>aws transfer update-server --server-id s-01234567890abcdef --workflow-details '{"OnUpload":[]}'</code>
aws-java-sdk-transfer/src/main/java/com/amazonaws/services/transfer/model/UpdateServerRequest.java