@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetCompatibleVersionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
 Container for the response returned by the GetCompatibleVersions operation.
 
| Constructor and Description | 
|---|
| GetCompatibleVersionsResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| GetCompatibleVersionsResult | clone() | 
| boolean | equals(Object obj) | 
| List<CompatibleVersionsMap> | getCompatibleVersions()
 A map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to. | 
| int | hashCode() | 
| void | setCompatibleVersions(Collection<CompatibleVersionsMap> compatibleVersions)
 A map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to. | 
| String | toString()Returns a string representation of this object. | 
| GetCompatibleVersionsResult | withCompatibleVersions(Collection<CompatibleVersionsMap> compatibleVersions)
 A map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to. | 
| GetCompatibleVersionsResult | withCompatibleVersions(CompatibleVersionsMap... compatibleVersions)
 A map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to. | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<CompatibleVersionsMap> getCompatibleVersions()
A map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.
public void setCompatibleVersions(Collection<CompatibleVersionsMap> compatibleVersions)
A map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.
compatibleVersions - A map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.public GetCompatibleVersionsResult withCompatibleVersions(CompatibleVersionsMap... compatibleVersions)
A map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.
 NOTE: This method appends the values to the existing list (if any). Use
 setCompatibleVersions(java.util.Collection) or withCompatibleVersions(java.util.Collection) if
 you want to override the existing values.
 
compatibleVersions - A map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.public GetCompatibleVersionsResult withCompatibleVersions(Collection<CompatibleVersionsMap> compatibleVersions)
A map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.
compatibleVersions - A map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.public String toString()
toString in class ObjectObject.toString()public GetCompatibleVersionsResult clone()