com.amazonaws.services.elasticmapreduce.model
Class ListInstancesResult

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

public class ListInstancesResult
extends Object
implements Serializable

This output contains the list of instances.

See Also:
Serialized Form

Constructor Summary
ListInstancesResult()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<Instance> getInstances()
          The list of instances for the cluster and given filters.
 String getMarker()
          The pagination token is a random string indicating whether there are more results to fetch.
 int hashCode()
           
 void setInstances(Collection<Instance> instances)
          The list of instances for the cluster and 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.
 ListInstancesResult withInstances(Collection<Instance> instances)
          The list of instances for the cluster and given filters.
 ListInstancesResult withInstances(Instance... instances)
          The list of instances for the cluster and given filters.
 ListInstancesResult 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

ListInstancesResult

public ListInstancesResult()
Method Detail

getInstances

public List<Instance> getInstances()
The list of instances for the cluster and given filters.

Returns:
The list of instances for the cluster and given filters.

setInstances

public void setInstances(Collection<Instance> instances)
The list of instances for the cluster and given filters.

Parameters:
instances - The list of instances for the cluster and given filters.

withInstances

public ListInstancesResult withInstances(Instance... instances)
The list of instances for the cluster and given filters.

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

Parameters:
instances - The list of instances for the cluster and given filters.
Returns:
A reference to this updated object so that method calls can be chained together.

withInstances

public ListInstancesResult withInstances(Collection<Instance> instances)
The list of instances for the cluster and given filters.

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

Parameters:
instances - The list of instances for the cluster and 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 ListInstancesResult 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.