public GetCanaryRunsResult withCanaryRuns(CanaryRun... canaryRuns) {
        if (this.canaryRuns == null) {
            setCanaryRuns(new java.util.ArrayList<CanaryRun>(canaryRuns.length));
        }
        for (CanaryRun ele : canaryRuns) {
            this.canaryRuns.add(ele);
        }
        return this;
    }
<p>
An array of structures. Each structure contains the details of one of the retrieved canary runs.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setCanaryRuns(java.util.Collection)} or {@link #withCanaryRuns(java.util.Collection)} if you want to
override the existing values.
</p>

@param canaryRuns
       An array of structures. Each structure contains the details of one of the retrieved canary runs.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-synthetics/src/main/java/com/amazonaws/services/synthetics/model/GetCanaryRunsResult.java