@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CompatibleVersionsMap extends Object implements Serializable, Cloneable, StructuredPojo
A map from an ElasticsearchVersion
to a list of compatible
ElasticsearchVersion
s to which the domain can be upgraded.
Constructor and Description |
---|
CompatibleVersionsMap() |
Modifier and Type | Method and Description |
---|---|
CompatibleVersionsMap |
clone() |
boolean |
equals(Object obj) |
String |
getSourceVersion()
The current version of Elasticsearch on which a domain is.
|
List<String> |
getTargetVersions() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSourceVersion(String sourceVersion)
The current version of Elasticsearch on which a domain is.
|
void |
setTargetVersions(Collection<String> targetVersions) |
String |
toString()
Returns a string representation of this object.
|
CompatibleVersionsMap |
withSourceVersion(String sourceVersion)
The current version of Elasticsearch on which a domain is.
|
CompatibleVersionsMap |
withTargetVersions(Collection<String> targetVersions) |
CompatibleVersionsMap |
withTargetVersions(String... targetVersions)
NOTE: This method appends the values to the existing list (if any).
|
public void setSourceVersion(String sourceVersion)
The current version of Elasticsearch on which a domain is.
sourceVersion
- The current version of Elasticsearch on which a domain is.public String getSourceVersion()
The current version of Elasticsearch on which a domain is.
public CompatibleVersionsMap withSourceVersion(String sourceVersion)
The current version of Elasticsearch on which a domain is.
sourceVersion
- The current version of Elasticsearch on which a domain is.public void setTargetVersions(Collection<String> targetVersions)
targetVersions
- public CompatibleVersionsMap withTargetVersions(String... targetVersions)
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
- public CompatibleVersionsMap withTargetVersions(Collection<String> targetVersions)
targetVersions
- public String toString()
toString
in class Object
Object.toString()
public CompatibleVersionsMap clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.