Interface GetWorkflowRunResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetWorkflowRunResponse.Builder,,GetWorkflowRunResponse> MwaaServerlessResponse.Builder,SdkBuilder<GetWorkflowRunResponse.Builder,,GetWorkflowRunResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetWorkflowRunResponse
-
Method Summary
Modifier and TypeMethodDescriptionoverrideParameters(Map<String, Document> overrideParameters) Parameters that were overridden for this specific workflow run.default GetWorkflowRunResponse.BuilderrunDetail(Consumer<WorkflowRunDetail.Builder> runDetail) Detailed information about the workflow run execution, including timing, status, and task instances.runDetail(WorkflowRunDetail runDetail) Detailed information about the workflow run execution, including timing, status, and task instances.The unique identifier of this workflow run.The type of workflow run.The type of workflow run.workflowArn(String workflowArn) The Amazon Resource Name (ARN) of the workflow that contains this run.workflowVersion(String workflowVersion) The version of the workflow that is used for this run.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.mwaaserverless.model.MwaaServerlessResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
workflowArn
The Amazon Resource Name (ARN) of the workflow that contains this run.
- Parameters:
workflowArn- The Amazon Resource Name (ARN) of the workflow that contains this run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflowVersion
The version of the workflow that is used for this run.
- Parameters:
workflowVersion- The version of the workflow that is used for this run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runId
The unique identifier of this workflow run.
- Parameters:
runId- The unique identifier of this workflow run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runType
The type of workflow run. Values are
ON_DEMAND(manually triggered) orSCHEDULED(automatically triggered by schedule).- Parameters:
runType- The type of workflow run. Values areON_DEMAND(manually triggered) orSCHEDULED(automatically triggered by schedule).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
runType
The type of workflow run. Values are
ON_DEMAND(manually triggered) orSCHEDULED(automatically triggered by schedule).- Parameters:
runType- The type of workflow run. Values areON_DEMAND(manually triggered) orSCHEDULED(automatically triggered by schedule).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideParameters
Parameters that were overridden for this specific workflow run.
- Parameters:
overrideParameters- Parameters that were overridden for this specific workflow run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runDetail
Detailed information about the workflow run execution, including timing, status, and task instances.
- Parameters:
runDetail- Detailed information about the workflow run execution, including timing, status, and task instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runDetail
Detailed information about the workflow run execution, including timing, status, and task instances.
This is a convenience method that creates an instance of theWorkflowRunDetail.Builderavoiding the need to create one manually viaWorkflowRunDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torunDetail(WorkflowRunDetail).- Parameters:
runDetail- a consumer that will call methods onWorkflowRunDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-