Class ListInstancesResult
java.lang.Object
com.amazonaws.services.elasticmapreduce.model.ListInstancesResult
- All Implemented Interfaces:
Serializable,Cloneable
This output contains the list of instances.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe list of instances for the cluster and given filters.The pagination token that indicates the next set of results to retrieve.inthashCode()voidsetInstances(Collection<Instance> instances) The list of instances for the cluster and given filters.voidThe pagination token that indicates the next set of results to retrieve.toString()Returns a string representation of this object; useful for testing and debugging.withInstances(Instance... instances) The list of instances for the cluster and given filters.withInstances(Collection<Instance> instances) The list of instances for the cluster and given filters.withMarker(String marker) The pagination token that indicates the next set of results to retrieve.
-
Constructor Details
-
ListInstancesResult
public ListInstancesResult()
-
-
Method Details
-
getInstances
The list of instances for the cluster and given filters.
- Returns:
- The list of instances for the cluster and given filters.
-
setInstances
The list of instances for the cluster and given filters.
- Parameters:
instances- The list of instances for the cluster and given filters.
-
withInstances
The list of instances for the cluster and given filters.
NOTE: This method appends the values to the existing list (if any). Use
setInstances(java.util.Collection)orwithInstances(java.util.Collection)if you want to override the existing values.- Parameters:
instances- The list of instances for the cluster and given filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withInstances
The list of instances for the cluster and given filters.
- Parameters:
instances- The list of instances for the cluster and given filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMarker
The pagination token that indicates the next set of results to retrieve.
- Parameters:
marker- The pagination token that indicates the next set of results to retrieve.
-
getMarker
The pagination token that indicates the next set of results to retrieve.
- Returns:
- The pagination token that indicates the next set of results to retrieve.
-
withMarker
The pagination token that indicates the next set of results to retrieve.
- Parameters:
marker- The pagination token that indicates the next set of results to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-