public void setRuntimeVersions(java.util.Collection<RuntimeVersion> runtimeVersions) {
        if (runtimeVersions == null) {
            this.runtimeVersions = null;
            return;
        }

        this.runtimeVersions = new java.util.ArrayList<RuntimeVersion>(runtimeVersions);
    }
<p>
An array of objects that display the details about each Synthetics canary runtime version.
</p>

@param runtimeVersions
       An array of objects that display the details about each Synthetics canary runtime version.
aws-java-sdk-synthetics/src/main/java/com/amazonaws/services/synthetics/model/DescribeRuntimeVersionsResult.java