com.amazonaws.services.elasticmapreduce.model
Class ListStepsRequest

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

public class ListStepsRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the ListSteps operation.

Provides a list of steps for the cluster.

See Also:
AmazonElasticMapReduce.listSteps(ListStepsRequest), Serialized Form

Constructor Summary
ListStepsRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getClusterId()
          The identifier of the cluster for which to list the steps.
 String getMarker()
          The pagination token is a random string indicating whether there are more results to fetch.
 List<String> getStepStates()
          The filter to limit the step list based on certain states.
 int hashCode()
           
 void setClusterId(String clusterId)
          The identifier of the cluster for which to list the steps.
 void setMarker(String marker)
          The pagination token is a random string indicating whether there are more results to fetch.
 void setStepStates(Collection<String> stepStates)
          The filter to limit the step list based on certain states.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ListStepsRequest withClusterId(String clusterId)
          The identifier of the cluster for which to list the steps.
 ListStepsRequest withMarker(String marker)
          The pagination token is a random string indicating whether there are more results to fetch.
 ListStepsRequest withStepStates(Collection<String> stepStates)
          The filter to limit the step list based on certain states.
 ListStepsRequest withStepStates(StepState... stepStates)
          The filter to limit the step list based on certain states.
 ListStepsRequest withStepStates(String... stepStates)
          The filter to limit the step list based on certain states.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ListStepsRequest

public ListStepsRequest()
Method Detail

getClusterId

public String getClusterId()
The identifier of the cluster for which to list the steps.

Returns:
The identifier of the cluster for which to list the steps.

setClusterId

public void setClusterId(String clusterId)
The identifier of the cluster for which to list the steps.

Parameters:
clusterId - The identifier of the cluster for which to list the steps.

withClusterId

public ListStepsRequest withClusterId(String clusterId)
The identifier of the cluster for which to list the steps.

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

Parameters:
clusterId - The identifier of the cluster for which to list the steps.
Returns:
A reference to this updated object so that method calls can be chained together.

getStepStates

public List<String> getStepStates()
The filter to limit the step list based on certain states.

Returns:
The filter to limit the step list based on certain states.

setStepStates

public void setStepStates(Collection<String> stepStates)
The filter to limit the step list based on certain states.

Parameters:
stepStates - The filter to limit the step list based on certain states.

withStepStates

public ListStepsRequest withStepStates(String... stepStates)
The filter to limit the step list based on certain states.

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

Parameters:
stepStates - The filter to limit the step list based on certain states.
Returns:
A reference to this updated object so that method calls can be chained together.

withStepStates

public ListStepsRequest withStepStates(Collection<String> stepStates)
The filter to limit the step list based on certain states.

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

Parameters:
stepStates - The filter to limit the step list based on certain states.
Returns:
A reference to this updated object so that method calls can be chained together.

withStepStates

public ListStepsRequest withStepStates(StepState... stepStates)
The filter to limit the step list based on certain states.

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

Parameters:
stepStates - The filter to limit the step list based on certain states.
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. Provide the pagination token from earlier 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. Provide the pagination token from earlier 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. Provide the pagination token from earlier 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. Provide the pagination token from earlier API calls to retrieve the next page of results. When the value is null, all results have been returned.

withMarker

public ListStepsRequest withMarker(String marker)
The pagination token is a random string indicating whether there are more results to fetch. Provide the pagination token from earlier 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. Provide the pagination token from earlier 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.