@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> |
getOnPartialUpload()
A trigger that starts a workflow if a file is only partially uploaded.
|
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)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setOnPartialUpload(Collection<WorkflowDetail> onPartialUpload)
A trigger that starts a workflow if a file is only partially uploaded.
|
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 |
withOnPartialUpload(Collection<WorkflowDetail> onPartialUpload)
A trigger that starts a workflow if a file is only partially uploaded.
|
WorkflowDetails |
withOnPartialUpload(WorkflowDetail... onPartialUpload)
A trigger that starts a workflow if a file is only partially uploaded.
|
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 List<WorkflowDetail> getOnPartialUpload()
A trigger that starts a workflow if a file is only partially uploaded. You can attach a workflow to a server that executes whenever there is a partial upload.
A partial upload occurs when a file is open when the session disconnects.
A partial upload occurs when a file is open when the session disconnects.
public void setOnPartialUpload(Collection<WorkflowDetail> onPartialUpload)
A trigger that starts a workflow if a file is only partially uploaded. You can attach a workflow to a server that executes whenever there is a partial upload.
A partial upload occurs when a file is open when the session disconnects.
onPartialUpload
- A trigger that starts a workflow if a file is only partially uploaded. You can attach a workflow to a
server that executes whenever there is a partial upload.
A partial upload occurs when a file is open when the session disconnects.
public WorkflowDetails withOnPartialUpload(WorkflowDetail... onPartialUpload)
A trigger that starts a workflow if a file is only partially uploaded. You can attach a workflow to a server that executes whenever there is a partial upload.
A partial upload occurs when a file is open when the session disconnects.
NOTE: This method appends the values to the existing list (if any). Use
setOnPartialUpload(java.util.Collection)
or withOnPartialUpload(java.util.Collection)
if you
want to override the existing values.
onPartialUpload
- A trigger that starts a workflow if a file is only partially uploaded. You can attach a workflow to a
server that executes whenever there is a partial upload.
A partial upload occurs when a file is open when the session disconnects.
public WorkflowDetails withOnPartialUpload(Collection<WorkflowDetail> onPartialUpload)
A trigger that starts a workflow if a file is only partially uploaded. You can attach a workflow to a server that executes whenever there is a partial upload.
A partial upload occurs when a file is open when the session disconnects.
onPartialUpload
- A trigger that starts a workflow if a file is only partially uploaded. You can attach a workflow to a
server that executes whenever there is a partial upload.
A partial upload occurs when a file is open when the session disconnects.
public String toString()
toString
in class Object
Object.toString()
public WorkflowDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.