com.amazonaws.services.elasticmapreduce.model
Class ListClustersResult

java.lang.Object
  extended by com.amazonaws.services.elasticmapreduce.model.ListClustersResult
All Implemented Interfaces:
Serializable

public class ListClustersResult
extends Object
implements Serializable

This contains a ClusterSummaryList with the cluster details; for example, the cluster IDs, names, and status.

See Also:
Serialized Form

Constructor Summary
ListClustersResult()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<ClusterSummary> getClusters()
          The list of clusters for the account based on the given filters.
 String getMarker()
          The pagination token is a random string indicating whether there are more results to fetch.
 int hashCode()
           
 void setClusters(Collection<ClusterSummary> clusters)
          The list of clusters for the account based on the given filters.
 void setMarker(String marker)
          The pagination token is a random string indicating whether there are more results to fetch.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ListClustersResult withClusters(ClusterSummary... clusters)
          The list of clusters for the account based on the given filters.
 ListClustersResult withClusters(Collection<ClusterSummary> clusters)
          The list of clusters for the account based on the given filters.
 ListClustersResult withMarker(String marker)
          The pagination token is a random string indicating whether there are more results to fetch.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ListClustersResult

public ListClustersResult()
Method Detail

getClusters

public List<ClusterSummary> getClusters()
The list of clusters for the account based on the given filters.

Returns:
The list of clusters for the account based on the given filters.

setClusters

public void setClusters(Collection<ClusterSummary> clusters)
The list of clusters for the account based on the given filters.

Parameters:
clusters - The list of clusters for the account based on the given filters.

withClusters

public ListClustersResult withClusters(ClusterSummary... clusters)
The list of clusters for the account based on the given filters.

Returns a reference to this object so that method calls can be chained together.

Parameters:
clusters - The list of clusters for the account based on the given filters.
Returns:
A reference to this updated object so that method calls can be chained together.

withClusters

public ListClustersResult withClusters(Collection<ClusterSummary> clusters)
The list of clusters for the account based on the given filters.

Returns a reference to this object so that method calls can be chained together.

Parameters:
clusters - The list of clusters for the account based on the given filters.
Returns:
A reference to this updated object so that method calls can be chained together.

getMarker

public String getMarker()
The pagination token is a random string indicating whether there are more results to fetch. Use the pagination token in later API calls to retrieve the next page of results. When the value is null, all results have been returned.

Returns:
The pagination token is a random string indicating whether there are more results to fetch. Use the pagination token in later API calls to retrieve the next page of results. When the value is null, all results have been returned.

setMarker

public void setMarker(String marker)
The pagination token is a random string indicating whether there are more results to fetch. Use the pagination token in later API calls to retrieve the next page of results. When the value is null, all results have been returned.

Parameters:
marker - The pagination token is a random string indicating whether there are more results to fetch. Use the pagination token in later API calls to retrieve the next page of results. When the value is null, all results have been returned.

withMarker

public ListClustersResult withMarker(String marker)
The pagination token is a random string indicating whether there are more results to fetch. Use the pagination token in later API calls to retrieve the next page of results. When the value is null, all results have been returned.

Returns a reference to this object so that method calls can be chained together.

Parameters:
marker - The pagination token is a random string indicating whether there are more results to fetch. Use the pagination token in later API calls to retrieve the next page of results. When the value is null, all results have been returned.
Returns:
A reference to this updated 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 class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.