public DescribeRuntimeVersionsResult withRuntimeVersions(RuntimeVersion... runtimeVersions) {
        if (this.runtimeVersions == null) {
            setRuntimeVersions(new java.util.ArrayList<RuntimeVersion>(runtimeVersions.length));
        }
        for (RuntimeVersion ele : runtimeVersions) {
            this.runtimeVersions.add(ele);
        }
        return this;
    }
<p>
An array of objects that display the details about each Synthetics canary runtime version.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setRuntimeVersions(java.util.Collection)} or {@link #withRuntimeVersions(java.util.Collection)} if you
want to override the existing values.
</p>

@param runtimeVersions
       An array of objects that display the details about each Synthetics canary runtime version.
@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/DescribeRuntimeVersionsResult.java