@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeCacheEngineVersionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents the output of a DescribeCacheEngineVersions operation.
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.
|
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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setMarker(String marker)
Provides an identifier to allow retrieval of paginated results.
marker
- Provides an identifier to allow retrieval of paginated results.public String getMarker()
Provides an identifier to allow retrieval of paginated results.
public DescribeCacheEngineVersionsResult withMarker(String marker)
Provides an identifier to allow retrieval of paginated results.
marker
- Provides an identifier to allow retrieval of paginated results.public List<CacheEngineVersion> getCacheEngineVersions()
A list of cache engine version details. Each element in the list contains detailed information about one cache engine version.
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.
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)
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)
or withCacheEngineVersions(java.util.Collection)
if you want to override the existing values.
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)
A list of cache engine version details. Each element in the list contains detailed information about one cache engine version.
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()