@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeCacheClustersResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents the output of a DescribeCacheClusters
operation.
Constructor and Description |
---|
DescribeCacheClustersResult() |
Modifier and Type | Method and Description |
---|---|
DescribeCacheClustersResult |
clone() |
boolean |
equals(Object obj) |
List<CacheCluster> |
getCacheClusters()
A list of clusters.
|
String |
getMarker()
Provides an identifier to allow retrieval of paginated results.
|
int |
hashCode() |
void |
setCacheClusters(Collection<CacheCluster> cacheClusters)
A list of 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 clusters.
|
DescribeCacheClustersResult |
withCacheClusters(Collection<CacheCluster> cacheClusters)
A list of clusters.
|
DescribeCacheClustersResult |
withMarker(String marker)
Provides an identifier to allow retrieval of paginated results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 clusters. Each item in the list contains detailed information about one cluster.
public void setCacheClusters(Collection<CacheCluster> cacheClusters)
A list of clusters. Each item in the list contains detailed information about one cluster.
cacheClusters
- A list of clusters. Each item in the list contains detailed information about one cluster.public DescribeCacheClustersResult withCacheClusters(CacheCluster... cacheClusters)
A list of clusters. Each item in the list contains detailed information about one 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 clusters. Each item in the list contains detailed information about one cluster.public DescribeCacheClustersResult withCacheClusters(Collection<CacheCluster> cacheClusters)
A list of clusters. Each item in the list contains detailed information about one cluster.
cacheClusters
- A list of clusters. Each item in the list contains detailed information about one cluster.public String toString()
toString
in class Object
Object.toString()
public DescribeCacheClustersResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.