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