Class DescribeCacheParameterGroupsResult
- java.lang.Object
-
- com.amazonaws.services.elasticache.model.DescribeCacheParameterGroupsResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeCacheParameterGroupsResult extends Object implements Serializable, Cloneable
Represents the output of a DescribeCacheParameterGroups action.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeCacheParameterGroupsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
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 DescribeCacheParameterGroupsResult 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.
-
getCacheParameterGroups
public List<CacheParameterGroup> getCacheParameterGroups()
A list of cache parameter groups. Each element in the list contains detailed information about one cache parameter group.
- Returns:
- A list of cache parameter groups. Each element in the list contains detailed information about one cache parameter group.
-
setCacheParameterGroups
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.
- Parameters:
cacheParameterGroups
- A list of cache parameter groups. Each element in the list contains detailed information about one cache parameter group.
-
withCacheParameterGroups
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)
orwithCacheParameterGroups(java.util.Collection)
if you want to override the existing values.- Parameters:
cacheParameterGroups
- A list of cache parameter groups. Each element in the list contains detailed information about one cache parameter group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withCacheParameterGroups
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.
- Parameters:
cacheParameterGroups
- A list of cache parameter groups. Each element in the list contains detailed information about one cache parameter group.- 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 DescribeCacheParameterGroupsResult clone()
-
-