Class ListStepsResult
- java.lang.Object
-
- com.amazonaws.services.elasticmapreduce.model.ListStepsResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ListStepsResult extends Object implements Serializable, Cloneable
This output contains the list of steps returned in reverse order. This means that the last step is the first element in the list.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListStepsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListStepsResult
clone()
boolean
equals(Object obj)
String
getMarker()
The pagination token that indicates the next set of results to retrieve.List<StepSummary>
getSteps()
The filtered list of steps for the cluster.int
hashCode()
void
setMarker(String marker)
The pagination token that indicates the next set of results to retrieve.void
setSteps(Collection<StepSummary> steps)
The filtered list of steps for the cluster.String
toString()
Returns a string representation of this object; useful for testing and debugging.ListStepsResult
withMarker(String marker)
The pagination token that indicates the next set of results to retrieve.ListStepsResult
withSteps(StepSummary... steps)
The filtered list of steps for the cluster.ListStepsResult
withSteps(Collection<StepSummary> steps)
The filtered list of steps for the cluster.
-
-
-
Method Detail
-
getSteps
public List<StepSummary> getSteps()
The filtered list of steps for the cluster.
- Returns:
- The filtered list of steps for the cluster.
-
setSteps
public void setSteps(Collection<StepSummary> steps)
The filtered list of steps for the cluster.
- Parameters:
steps
- The filtered list of steps for the cluster.
-
withSteps
public ListStepsResult withSteps(StepSummary... steps)
The filtered list of steps for the cluster.
NOTE: This method appends the values to the existing list (if any). Use
setSteps(java.util.Collection)
orwithSteps(java.util.Collection)
if you want to override the existing values.- Parameters:
steps
- The filtered list of steps for the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withSteps
public ListStepsResult withSteps(Collection<StepSummary> steps)
The filtered list of steps for the cluster.
- Parameters:
steps
- The filtered list of steps for the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMarker
public void setMarker(String marker)
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
public String 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
public ListStepsResult withMarker(String marker)
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
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 ListStepsResult clone()
-
-