public void setUpgradeHistories(java.util.Collection<UpgradeHistory> upgradeHistories) {
        if (upgradeHistories == null) {
            this.upgradeHistories = null;
            return;
        }

        this.upgradeHistories = new java.util.ArrayList<UpgradeHistory>(upgradeHistories);
    }
<p>
A list of objects corresponding to each upgrade or upgrade eligibility check performed on a domain.
</p>

@param upgradeHistories
       A list of objects corresponding to each upgrade or upgrade eligibility check performed on a domain.
aws-java-sdk-opensearch/src/main/java/com/amazonaws/services/opensearch/model/GetUpgradeHistoryResult.java