public class DescribeCacheParameterGroupsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents the output of a DescribeCacheParameterGroups action.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<CacheParameterGroup> |
cacheParameterGroups
A list of cache parameter groups.
|
private java.lang.String |
marker
Provides an identifier to allow retrieval of paginated results.
|
Constructor and Description |
---|
DescribeCacheParameterGroupsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeCacheParameterGroupsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<CacheParameterGroup> |
getCacheParameterGroups()
A list of cache parameter groups.
|
java.lang.String |
getMarker()
Provides an identifier to allow retrieval of paginated results.
|
int |
hashCode() |
void |
setCacheParameterGroups(java.util.Collection<CacheParameterGroup> cacheParameterGroups)
A list of cache parameter groups.
|
void |
setMarker(java.lang.String marker)
Provides an identifier to allow retrieval of paginated results.
|
java.lang.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(java.util.Collection<CacheParameterGroup> cacheParameterGroups)
A list of cache parameter groups.
|
DescribeCacheParameterGroupsResult |
withMarker(java.lang.String marker)
Provides an identifier to allow retrieval of paginated results.
|
private java.lang.String marker
Provides an identifier to allow retrieval of paginated results.
private SdkInternalList<CacheParameterGroup> cacheParameterGroups
A list of cache parameter groups. Each element in the list contains detailed information about one cache parameter group.
public void setMarker(java.lang.String marker)
Provides an identifier to allow retrieval of paginated results.
marker
- Provides an identifier to allow retrieval of paginated results.public java.lang.String getMarker()
Provides an identifier to allow retrieval of paginated results.
public DescribeCacheParameterGroupsResult withMarker(java.lang.String marker)
Provides an identifier to allow retrieval of paginated results.
marker
- Provides an identifier to allow retrieval of paginated results.public java.util.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(java.util.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(java.util.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeCacheParameterGroupsResult clone()
clone
in class java.lang.Object