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 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)
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.
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 ObjectObject.toString()public DescribeCacheClustersResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.