Class ListStepsRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.elasticmapreduce.model.ListStepsRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class ListStepsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

This input determines which steps to list.

See Also:
  • Constructor Details

    • ListStepsRequest

      public ListStepsRequest()
  • Method Details

    • 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.
    • 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.
    • withClusterId

      public ListStepsRequest withClusterId(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.
      Returns:
      Returns a reference to this 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.
      See Also:
    • 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.
      See Also:
    • withStepStates

      public ListStepsRequest withStepStates(String... stepStates)

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

      NOTE: This method appends the values to the existing list (if any). Use setStepStates(java.util.Collection) or withStepStates(java.util.Collection) if you want to override the existing values.

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

      public ListStepsRequest withStepStates(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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • withStepStates

      public ListStepsRequest withStepStates(StepState... 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • getStepIds

      public List<String> getStepIds()

      The filter to limit the step list based on the identifier of the steps.

      Returns:
      The filter to limit the step list based on the identifier of the steps.
    • setStepIds

      public void setStepIds(Collection<String> stepIds)

      The filter to limit the step list based on the identifier of the steps.

      Parameters:
      stepIds - The filter to limit the step list based on the identifier of the steps.
    • withStepIds

      public ListStepsRequest withStepIds(String... stepIds)

      The filter to limit the step list based on the identifier of the steps.

      NOTE: This method appends the values to the existing list (if any). Use setStepIds(java.util.Collection) or withStepIds(java.util.Collection) if you want to override the existing values.

      Parameters:
      stepIds - The filter to limit the step list based on the identifier of the steps.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withStepIds

      public ListStepsRequest withStepIds(Collection<String> stepIds)

      The filter to limit the step list based on the identifier of the steps.

      Parameters:
      stepIds - The filter to limit the step list based on the identifier of the steps.
      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 ListStepsRequest 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public ListStepsRequest clone()
      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: