public ListRuleExecutionsResult withRuleExecutionDetails(RuleExecutionDetail... ruleExecutionDetails) {
        if (this.ruleExecutionDetails == null) {
            setRuleExecutionDetails(new java.util.ArrayList<RuleExecutionDetail>(ruleExecutionDetails.length));
        }
        for (RuleExecutionDetail ele : ruleExecutionDetails) {
            this.ruleExecutionDetails.add(ele);
        }
        return this;
    }
<p>
Details about the output for listing rule executions.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setRuleExecutionDetails(java.util.Collection)} or {@link #withRuleExecutionDetails(java.util.Collection)}
if you want to override the existing values.
</p>

@param ruleExecutionDetails
       Details about the output for listing rule executions.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codepipeline/src/main/java/com/amazonaws/services/codepipeline/model/ListRuleExecutionsResult.java