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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ListStepsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListStepsRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getClusterId()
The identifier of the cluster for which to list the steps.String
getMarker()
The pagination token that indicates the next set of results to retrieve.List<String>
getStepIds()
The filter to limit the step list based on the identifier of the steps.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 that indicates the next set of results to retrieve.void
setStepIds(Collection<String> stepIds)
The filter to limit the step list based on the identifier of the steps.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 that indicates the next set of results to retrieve.ListStepsRequest
withStepIds(String... stepIds)
The filter to limit the step list based on the identifier of the steps.ListStepsRequest
withStepIds(Collection<String> stepIds)
The filter to limit the step list based on the identifier of the steps.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.ListStepsRequest
withStepStates(Collection<String> stepStates)
The filter to limit the step list based on certain states.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
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:
StepState
-
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:
StepState
-
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)
orwithStepStates(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:
StepState
-
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:
StepState
-
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:
StepState
-
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)
orwithStepIds(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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
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 classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-