public class DescribeCacheEngineVersionsResult extends Object implements Serializable, Cloneable
Represents the output of a DescribeCacheEngineVersions action.
Constructor and Description |
---|
DescribeCacheEngineVersionsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeCacheEngineVersionsResult |
clone() |
boolean |
equals(Object obj) |
List<CacheEngineVersion> |
getCacheEngineVersions()
A list of cache engine version details.
|
String |
getMarker()
Provides an identifier to allow retrieval of paginated results.
|
int |
hashCode() |
void |
setCacheEngineVersions(Collection<CacheEngineVersion> cacheEngineVersions)
A list of cache engine version details.
|
void |
setMarker(String marker)
Provides an identifier to allow retrieval of paginated results.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeCacheEngineVersionsResult |
withCacheEngineVersions(CacheEngineVersion... cacheEngineVersions)
A list of cache engine version details.
|
DescribeCacheEngineVersionsResult |
withCacheEngineVersions(Collection<CacheEngineVersion> cacheEngineVersions)
A list of cache engine version details.
|
DescribeCacheEngineVersionsResult |
withMarker(String marker)
Provides an identifier to allow retrieval of paginated results.
|
public String getMarker()
public void setMarker(String marker)
marker
- Provides an identifier to allow retrieval of paginated results.public DescribeCacheEngineVersionsResult withMarker(String marker)
Returns a reference to this object so that method calls can be chained together.
marker
- Provides an identifier to allow retrieval of paginated results.public List<CacheEngineVersion> getCacheEngineVersions()
public void setCacheEngineVersions(Collection<CacheEngineVersion> cacheEngineVersions)
cacheEngineVersions
- A list of cache engine version details. Each element in the list
contains detailed information about one cache engine version.public DescribeCacheEngineVersionsResult withCacheEngineVersions(CacheEngineVersion... cacheEngineVersions)
NOTE: This method appends the values to the existing list (if
any). Use setCacheEngineVersions(java.util.Collection)
or
withCacheEngineVersions(java.util.Collection)
if you want to
override the existing values.
Returns a reference to this object so that method calls can be chained together.
cacheEngineVersions
- A list of cache engine version details. Each element in the list
contains detailed information about one cache engine version.public DescribeCacheEngineVersionsResult withCacheEngineVersions(Collection<CacheEngineVersion> cacheEngineVersions)
Returns a reference to this object so that method calls can be chained together.
cacheEngineVersions
- A list of cache engine version details. Each element in the list
contains detailed information about one cache engine version.public String toString()
toString
in class Object
Object.toString()
public DescribeCacheEngineVersionsResult clone()
Copyright © 2016. All rights reserved.