Class DescribeCacheClustersResult
- java.lang.Object
-
- com.amazonaws.services.elasticache.model.DescribeCacheClustersResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeCacheClustersResult extends Object implements Serializable, Cloneable
Represents the output of a DescribeCacheClusters action.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeCacheClustersResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
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 DescribeCacheClustersResult 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.
-
getCacheClusters
public List<CacheCluster> getCacheClusters()
A list of cache clusters. Each item in the list contains detailed information about one cache cluster.
- Returns:
- A list of cache clusters. Each item in the list contains detailed information about one cache cluster.
-
setCacheClusters
public void setCacheClusters(Collection<CacheCluster> cacheClusters)
A list of cache clusters. Each item in the list contains detailed information about one cache cluster.
- Parameters:
cacheClusters
- A list of cache clusters. Each item in the list contains detailed information about one cache cluster.
-
withCacheClusters
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)
orwithCacheClusters(java.util.Collection)
if you want to override the existing values.- Parameters:
cacheClusters
- A list of cache clusters. Each item in the list contains detailed information about one cache cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withCacheClusters
public DescribeCacheClustersResult withCacheClusters(Collection<CacheCluster> cacheClusters)
A list of cache clusters. Each item in the list contains detailed information about one cache cluster.
- Parameters:
cacheClusters
- A list of cache clusters. Each item in the list contains detailed information about one cache cluster.- 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 DescribeCacheClustersResult clone()
-
-