Interface ListWorkflowExecutionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListWorkflowExecutionsResponse.Builder,,ListWorkflowExecutionsResponse> ImagebuilderResponse.Builder,SdkBuilder<ListWorkflowExecutionsResponse.Builder,,ListWorkflowExecutionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListWorkflowExecutionsResponse
-
Method Summary
Modifier and TypeMethodDescriptionimageBuildVersionArn(String imageBuildVersionArn) The resource Amazon Resource Name (ARN) of the image build version for which you requested a list of workflow runtime details.The failure reason for the image build version, if it's in a failed state.The next token used for paginated responses.The request ID that uniquely identifies this request.workflowExecutions(Collection<WorkflowExecutionMetadata> workflowExecutions) An array of runtime details that represents each time a workflow ran for the requested image build version.workflowExecutions(Consumer<WorkflowExecutionMetadata.Builder>... workflowExecutions) An array of runtime details that represents each time a workflow ran for the requested image build version.workflowExecutions(WorkflowExecutionMetadata... workflowExecutions) An array of runtime details that represents each time a workflow ran for the requested image build version.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.imagebuilder.model.ImagebuilderResponse.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
-
requestId
The request ID that uniquely identifies this request.
- Parameters:
requestId- The request ID that uniquely identifies this request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflowExecutions
ListWorkflowExecutionsResponse.Builder workflowExecutions(Collection<WorkflowExecutionMetadata> workflowExecutions) An array of runtime details that represents each time a workflow ran for the requested image build version. Image Builder retains workflow execution records for a limited time, so this array can be empty for older image build versions.
- Parameters:
workflowExecutions- An array of runtime details that represents each time a workflow ran for the requested image build version. Image Builder retains workflow execution records for a limited time, so this array can be empty for older image build versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflowExecutions
ListWorkflowExecutionsResponse.Builder workflowExecutions(WorkflowExecutionMetadata... workflowExecutions) An array of runtime details that represents each time a workflow ran for the requested image build version. Image Builder retains workflow execution records for a limited time, so this array can be empty for older image build versions.
- Parameters:
workflowExecutions- An array of runtime details that represents each time a workflow ran for the requested image build version. Image Builder retains workflow execution records for a limited time, so this array can be empty for older image build versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflowExecutions
ListWorkflowExecutionsResponse.Builder workflowExecutions(Consumer<WorkflowExecutionMetadata.Builder>... workflowExecutions) An array of runtime details that represents each time a workflow ran for the requested image build version. Image Builder retains workflow execution records for a limited time, so this array can be empty for older image build versions.
This is a convenience method that creates an instance of theWorkflowExecutionMetadata.Builderavoiding the need to create one manually viaWorkflowExecutionMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toworkflowExecutions(List<WorkflowExecutionMetadata>).- Parameters:
workflowExecutions- a consumer that will call methods onWorkflowExecutionMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
imageBuildVersionArn
The resource Amazon Resource Name (ARN) of the image build version for which you requested a list of workflow runtime details.
- Parameters:
imageBuildVersionArn- The resource Amazon Resource Name (ARN) of the image build version for which you requested a list of workflow runtime details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
message
The failure reason for the image build version, if it's in a failed state. This comes from the image itself, not from an individual workflow, so it's available even when no workflow executions remain for the image.
- Parameters:
message- The failure reason for the image build version, if it's in a failed state. This comes from the image itself, not from an individual workflow, so it's available even when no workflow executions remain for the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
- Parameters:
nextToken- The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-