public ListWorkflowExecutionsResult withWorkflowExecutions(WorkflowExecutionMetadata... workflowExecutions) {
        if (this.workflowExecutions == null) {
            setWorkflowExecutions(new java.util.ArrayList<WorkflowExecutionMetadata>(workflowExecutions.length));
        }
        for (WorkflowExecutionMetadata ele : workflowExecutions) {
            this.workflowExecutions.add(ele);
        }
        return this;
    }
<p>
Contains an array of runtime details that represents each time a workflow ran for the requested image build
version.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setWorkflowExecutions(java.util.Collection)} or {@link #withWorkflowExecutions(java.util.Collection)} if
you want to override the existing values.
</p>

@param workflowExecutions
       Contains an array of runtime details that represents each time a workflow ran for the requested image
       build version.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-imagebuilder/src/main/java/com/amazonaws/services/imagebuilder/model/ListWorkflowExecutionsResult.java