Interface WorkflowDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<WorkflowDetails.Builder,
,WorkflowDetails> SdkBuilder<WorkflowDetails.Builder,
,WorkflowDetails> SdkPojo
- Enclosing class:
WorkflowDetails
-
Method Summary
Modifier and TypeMethodDescriptiononPartialUpload
(Collection<WorkflowDetail> onPartialUpload) A trigger that starts a workflow if a file is only partially uploaded.onPartialUpload
(Consumer<WorkflowDetail.Builder>... onPartialUpload) A trigger that starts a workflow if a file is only partially uploaded.onPartialUpload
(WorkflowDetail... onPartialUpload) A trigger that starts a workflow if a file is only partially uploaded.onUpload
(Collection<WorkflowDetail> onUpload) A trigger that starts a workflow: the workflow begins to execute after a file is uploaded.onUpload
(Consumer<WorkflowDetail.Builder>... onUpload) A trigger that starts a workflow: the workflow begins to execute after a file is uploaded.onUpload
(WorkflowDetail... onUpload) A trigger that starts a workflow: the workflow begins to execute after a file is uploaded.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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":[]}'
- Parameters:
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":[]}'
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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":[]}'
- Parameters:
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":[]}'
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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":[]}'
WorkflowDetail.Builder
avoiding the need to create one manually viaWorkflowDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toonUpload(List<WorkflowDetail>)
.- Parameters:
onUpload
- a consumer that will call methods onWorkflowDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
This is a convenience method that creates an instance of theWorkflowDetail.Builder
avoiding the need to create one manually viaWorkflowDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toonPartialUpload(List<WorkflowDetail>)
.- Parameters:
onPartialUpload
- a consumer that will call methods onWorkflowDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-