@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetCompatibleElasticsearchVersionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Container for response returned by GetCompatibleElasticsearchVersions
operation.
Constructor and Description |
---|
GetCompatibleElasticsearchVersionsResult() |
Modifier and Type | Method and Description |
---|---|
GetCompatibleElasticsearchVersionsResult |
clone() |
boolean |
equals(Object obj) |
List<CompatibleVersionsMap> |
getCompatibleElasticsearchVersions()
A map of compatible Elasticsearch versions returned as part of the
GetCompatibleElasticsearchVersions operation. |
int |
hashCode() |
void |
setCompatibleElasticsearchVersions(Collection<CompatibleVersionsMap> compatibleElasticsearchVersions)
A map of compatible Elasticsearch versions returned as part of the
GetCompatibleElasticsearchVersions operation. |
String |
toString()
Returns a string representation of this object.
|
GetCompatibleElasticsearchVersionsResult |
withCompatibleElasticsearchVersions(Collection<CompatibleVersionsMap> compatibleElasticsearchVersions)
A map of compatible Elasticsearch versions returned as part of the
GetCompatibleElasticsearchVersions operation. |
GetCompatibleElasticsearchVersionsResult |
withCompatibleElasticsearchVersions(CompatibleVersionsMap... compatibleElasticsearchVersions)
A map of compatible Elasticsearch versions returned as part of the
GetCompatibleElasticsearchVersions operation. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public GetCompatibleElasticsearchVersionsResult()
public List<CompatibleVersionsMap> getCompatibleElasticsearchVersions()
A map of compatible Elasticsearch versions returned as part of the
GetCompatibleElasticsearchVersions
operation.
GetCompatibleElasticsearchVersions
operation.public void setCompatibleElasticsearchVersions(Collection<CompatibleVersionsMap> compatibleElasticsearchVersions)
A map of compatible Elasticsearch versions returned as part of the
GetCompatibleElasticsearchVersions
operation.
compatibleElasticsearchVersions
- A map of compatible Elasticsearch versions returned as part of the
GetCompatibleElasticsearchVersions
operation.public GetCompatibleElasticsearchVersionsResult withCompatibleElasticsearchVersions(CompatibleVersionsMap... compatibleElasticsearchVersions)
A map of compatible Elasticsearch versions returned as part of the
GetCompatibleElasticsearchVersions
operation.
NOTE: This method appends the values to the existing list (if any). Use
setCompatibleElasticsearchVersions(java.util.Collection)
or
withCompatibleElasticsearchVersions(java.util.Collection)
if you want to override the existing values.
compatibleElasticsearchVersions
- A map of compatible Elasticsearch versions returned as part of the
GetCompatibleElasticsearchVersions
operation.public GetCompatibleElasticsearchVersionsResult withCompatibleElasticsearchVersions(Collection<CompatibleVersionsMap> compatibleElasticsearchVersions)
A map of compatible Elasticsearch versions returned as part of the
GetCompatibleElasticsearchVersions
operation.
compatibleElasticsearchVersions
- A map of compatible Elasticsearch versions returned as part of the
GetCompatibleElasticsearchVersions
operation.public String toString()
toString
in class Object
Object.toString()
public GetCompatibleElasticsearchVersionsResult clone()