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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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
OnUploadobject, as in the following example.aws transfer update-server --server-id s-01234567890abcdef --workflow-details '{"OnUpload":[]}'OnUploadcan contain a maximum of oneWorkflowDetailobject.- 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
OnUploadobject, as in the following example.aws transfer update-server --server-id s-01234567890abcdef --workflow-details '{"OnUpload":[]}'OnUploadcan contain a maximum of oneWorkflowDetailobject.- 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
OnUploadobject, as in the following example.aws transfer update-server --server-id s-01234567890abcdef --workflow-details '{"OnUpload":[]}'OnUploadcan contain a maximum of oneWorkflowDetailobject.- 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
OnUploadobject, as in the following example.aws transfer update-server --server-id s-01234567890abcdef --workflow-details '{"OnUpload":[]}'OnUploadcan contain a maximum of oneWorkflowDetailobject.- 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
OnUploadobject, as in the following example.aws transfer update-server --server-id s-01234567890abcdef --workflow-details '{"OnUpload":[]}' This is a convenience method that creates an instance of theOnUploadcan contain a maximum of oneWorkflowDetailobject.WorkflowDetail.Builderavoiding the need to create one manually viaWorkflowDetail.builder().When the
Consumercompletes,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.
OnPartialUploadcan contain a maximum of oneWorkflowDetailobject.- 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.
OnPartialUploadcan contain a maximum of oneWorkflowDetailobject.- 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.
OnPartialUploadcan contain a maximum of oneWorkflowDetailobject.- 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.
OnPartialUploadcan contain a maximum of oneWorkflowDetailobject.- 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 theOnPartialUploadcan contain a maximum of oneWorkflowDetailobject.WorkflowDetail.Builderavoiding the need to create one manually viaWorkflowDetail.builder().When the
Consumercompletes,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:
-