public class DescribeCacheClustersResult extends Object implements Serializable
Represents the output of a DescribeCacheClusters operation.
Constructor and Description |
---|
DescribeCacheClustersResult() |
Modifier and Type | Method and Description |
---|---|
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 String getMarker()
public void setMarker(String marker)
marker
- Provides an identifier to allow retrieval of paginated results.public DescribeCacheClustersResult withMarker(String marker)
Returns a reference to this object so that method calls can be chained together.
marker
- Provides an identifier to allow retrieval of paginated results.public List<CacheCluster> getCacheClusters()
public void setCacheClusters(Collection<CacheCluster> cacheClusters)
cacheClusters
- A list of cache clusters. Each item in the list contains detailed
information about one cache cluster.public DescribeCacheClustersResult withCacheClusters(CacheCluster... cacheClusters)
Returns a reference to this object so that method calls can be chained together.
cacheClusters
- A list of cache clusters. Each item in the list contains detailed
information about one cache cluster.public DescribeCacheClustersResult withCacheClusters(Collection<CacheCluster> cacheClusters)
Returns a reference to this object so that method calls can be chained together.
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()
Copyright © 2014. All rights reserved.