Class DescribeCacheEngineVersionsResult
- java.lang.Object
-
- com.amazonaws.services.elasticache.model.DescribeCacheEngineVersionsResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeCacheEngineVersionsResult extends Object implements Serializable, Cloneable
Represents the output of a DescribeCacheEngineVersions action.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeCacheEngineVersionsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
setMarker
public void setMarker(String marker)
Provides an identifier to allow retrieval of paginated results.
- Parameters:
marker
- Provides an identifier to allow retrieval of paginated results.
-
getMarker
public String getMarker()
Provides an identifier to allow retrieval of paginated results.
- Returns:
- Provides an identifier to allow retrieval of paginated results.
-
withMarker
public DescribeCacheEngineVersionsResult withMarker(String marker)
Provides an identifier to allow retrieval of paginated results.
- Parameters:
marker
- Provides an identifier to allow retrieval of paginated results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getCacheEngineVersions
public List<CacheEngineVersion> getCacheEngineVersions()
A list of cache engine version details. Each element in the list contains detailed information about one cache engine version.
- Returns:
- A list of cache engine version details. Each element in the list contains detailed information about one cache engine version.
-
setCacheEngineVersions
public void setCacheEngineVersions(Collection<CacheEngineVersion> cacheEngineVersions)
A list of cache engine version details. Each element in the list contains detailed information about one cache engine version.
- Parameters:
cacheEngineVersions
- A list of cache engine version details. Each element in the list contains detailed information about one cache engine version.
-
withCacheEngineVersions
public DescribeCacheEngineVersionsResult withCacheEngineVersions(CacheEngineVersion... cacheEngineVersions)
A list of cache engine version details. Each element in the list contains detailed information about one cache engine version.
NOTE: This method appends the values to the existing list (if any). Use
setCacheEngineVersions(java.util.Collection)
orwithCacheEngineVersions(java.util.Collection)
if you want to override the existing values.- Parameters:
cacheEngineVersions
- A list of cache engine version details. Each element in the list contains detailed information about one cache engine version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withCacheEngineVersions
public DescribeCacheEngineVersionsResult withCacheEngineVersions(Collection<CacheEngineVersion> cacheEngineVersions)
A list of cache engine version details. Each element in the list contains detailed information about one cache engine version.
- Parameters:
cacheEngineVersions
- A list of cache engine version details. Each element in the list contains detailed information about one cache engine version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeCacheEngineVersionsResult clone()
-
-