public GetUpgradeHistoryResult withUpgradeHistories(java.util.Collection<UpgradeHistory> upgradeHistories) {
        setUpgradeHistories(upgradeHistories);
        return this;
    }
<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.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-opensearch/src/main/java/com/amazonaws/services/opensearch/model/GetUpgradeHistoryResult.java