public class DescribeCacheParameterGroupsResult extends Object implements Serializable, Cloneable
Represents the output of a DescribeCacheParameterGroups action.
Constructor and Description |
---|
DescribeCacheParameterGroupsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeCacheParameterGroupsResult |
clone() |
boolean |
equals(Object obj) |
List<CacheParameterGroup> |
getCacheParameterGroups()
A list of cache parameter groups.
|
String |
getMarker()
Provides an identifier to allow retrieval of paginated results.
|
int |
hashCode() |
void |
setCacheParameterGroups(Collection<CacheParameterGroup> cacheParameterGroups)
A list of cache parameter groups.
|
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.
|
DescribeCacheParameterGroupsResult |
withCacheParameterGroups(CacheParameterGroup... cacheParameterGroups)
A list of cache parameter groups.
|
DescribeCacheParameterGroupsResult |
withCacheParameterGroups(Collection<CacheParameterGroup> cacheParameterGroups)
A list of cache parameter groups.
|
DescribeCacheParameterGroupsResult |
withMarker(String marker)
Provides an identifier to allow retrieval of paginated results.
|
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 DescribeCacheParameterGroupsResult withMarker(String marker)
Provides an identifier to allow retrieval of paginated results.
marker
- Provides an identifier to allow retrieval of paginated results.public List<CacheParameterGroup> getCacheParameterGroups()
A list of cache parameter groups. Each element in the list contains detailed information about one cache parameter group.
public void setCacheParameterGroups(Collection<CacheParameterGroup> cacheParameterGroups)
A list of cache parameter groups. Each element in the list contains detailed information about one cache parameter group.
cacheParameterGroups
- A list of cache parameter groups. Each element in the list
contains detailed information about one cache parameter group.public DescribeCacheParameterGroupsResult withCacheParameterGroups(CacheParameterGroup... cacheParameterGroups)
A list of cache parameter groups. Each element in the list contains detailed information about one cache parameter group.
NOTE: This method appends the values to the existing list (if
any). Use setCacheParameterGroups(java.util.Collection)
or
withCacheParameterGroups(java.util.Collection)
if you want to
override the existing values.
cacheParameterGroups
- A list of cache parameter groups. Each element in the list
contains detailed information about one cache parameter group.public DescribeCacheParameterGroupsResult withCacheParameterGroups(Collection<CacheParameterGroup> cacheParameterGroups)
A list of cache parameter groups. Each element in the list contains detailed information about one cache parameter group.
cacheParameterGroups
- A list of cache parameter groups. Each element in the list
contains detailed information about one cache parameter group.public String toString()
toString
in class Object
Object.toString()
public DescribeCacheParameterGroupsResult clone()
Copyright © 2016. All rights reserved.