@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CompatibleVersionsMap extends Object implements Serializable, Cloneable, StructuredPojo
A map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.
Constructor and Description |
---|
CompatibleVersionsMap() |
Modifier and Type | Method and Description |
---|---|
CompatibleVersionsMap |
clone() |
boolean |
equals(Object obj) |
String |
getSourceVersion()
The current version that the OpenSearch Service domain is running.
|
List<String> |
getTargetVersions()
The possible versions that you can upgrade the domain to.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setSourceVersion(String sourceVersion)
The current version that the OpenSearch Service domain is running.
|
void |
setTargetVersions(Collection<String> targetVersions)
The possible versions that you can upgrade the domain to.
|
String |
toString()
Returns a string representation of this object.
|
CompatibleVersionsMap |
withSourceVersion(String sourceVersion)
The current version that the OpenSearch Service domain is running.
|
CompatibleVersionsMap |
withTargetVersions(Collection<String> targetVersions)
The possible versions that you can upgrade the domain to.
|
CompatibleVersionsMap |
withTargetVersions(String... targetVersions)
The possible versions that you can upgrade the domain to.
|
public void setSourceVersion(String sourceVersion)
The current version that the OpenSearch Service domain is running.
sourceVersion
- The current version that the OpenSearch Service domain is running.public String getSourceVersion()
The current version that the OpenSearch Service domain is running.
public CompatibleVersionsMap withSourceVersion(String sourceVersion)
The current version that the OpenSearch Service domain is running.
sourceVersion
- The current version that the OpenSearch Service domain is running.public List<String> getTargetVersions()
The possible versions that you can upgrade the domain to.
public void setTargetVersions(Collection<String> targetVersions)
The possible versions that you can upgrade the domain to.
targetVersions
- The possible versions that you can upgrade the domain to.public CompatibleVersionsMap withTargetVersions(String... targetVersions)
The possible versions that you can upgrade the domain to.
NOTE: This method appends the values to the existing list (if any). Use
setTargetVersions(java.util.Collection)
or withTargetVersions(java.util.Collection)
if you want
to override the existing values.
targetVersions
- The possible versions that you can upgrade the domain to.public CompatibleVersionsMap withTargetVersions(Collection<String> targetVersions)
The possible versions that you can upgrade the domain to.
targetVersions
- The possible versions that you can upgrade the domain to.public String toString()
toString
in class Object
Object.toString()
public CompatibleVersionsMap clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2023. All rights reserved.