Class DescribeJobFlowsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.elasticmapreduce.model.DescribeJobFlowsRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class DescribeJobFlowsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The input for the DescribeJobFlows operation.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeJobFlowsRequest()
Default constructor for DescribeJobFlowsRequest object.DescribeJobFlowsRequest(List<String> jobFlowIds)
Constructs a new DescribeJobFlowsRequest object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeJobFlowsRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
Date
getCreatedAfter()
Return only job flows created after this date and time.Date
getCreatedBefore()
Return only job flows created before this date and time.List<String>
getJobFlowIds()
Return only job flows whose job flow ID is contained in this list.List<String>
getJobFlowStates()
Return only job flows whose state is contained in this list.int
hashCode()
void
setCreatedAfter(Date createdAfter)
Return only job flows created after this date and time.void
setCreatedBefore(Date createdBefore)
Return only job flows created before this date and time.void
setJobFlowIds(Collection<String> jobFlowIds)
Return only job flows whose job flow ID is contained in this list.void
setJobFlowStates(Collection<String> jobFlowStates)
Return only job flows whose state is contained in this list.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeJobFlowsRequest
withCreatedAfter(Date createdAfter)
Return only job flows created after this date and time.DescribeJobFlowsRequest
withCreatedBefore(Date createdBefore)
Return only job flows created before this date and time.DescribeJobFlowsRequest
withJobFlowIds(String... jobFlowIds)
Return only job flows whose job flow ID is contained in this list.DescribeJobFlowsRequest
withJobFlowIds(Collection<String> jobFlowIds)
Return only job flows whose job flow ID is contained in this list.DescribeJobFlowsRequest
withJobFlowStates(JobFlowExecutionState... jobFlowStates)
Return only job flows whose state is contained in this list.DescribeJobFlowsRequest
withJobFlowStates(String... jobFlowStates)
Return only job flows whose state is contained in this list.DescribeJobFlowsRequest
withJobFlowStates(Collection<String> jobFlowStates)
Return only job flows whose state is contained in this list.-
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
-
-
-
-
Constructor Detail
-
DescribeJobFlowsRequest
public DescribeJobFlowsRequest()
Default constructor for DescribeJobFlowsRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
-
DescribeJobFlowsRequest
public DescribeJobFlowsRequest(List<String> jobFlowIds)
Constructs a new DescribeJobFlowsRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
jobFlowIds
- Return only job flows whose job flow ID is contained in this list.
-
-
Method Detail
-
setCreatedAfter
public void setCreatedAfter(Date createdAfter)
Return only job flows created after this date and time.
- Parameters:
createdAfter
- Return only job flows created after this date and time.
-
getCreatedAfter
public Date getCreatedAfter()
Return only job flows created after this date and time.
- Returns:
- Return only job flows created after this date and time.
-
withCreatedAfter
public DescribeJobFlowsRequest withCreatedAfter(Date createdAfter)
Return only job flows created after this date and time.
- Parameters:
createdAfter
- Return only job flows created after this date and time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCreatedBefore
public void setCreatedBefore(Date createdBefore)
Return only job flows created before this date and time.
- Parameters:
createdBefore
- Return only job flows created before this date and time.
-
getCreatedBefore
public Date getCreatedBefore()
Return only job flows created before this date and time.
- Returns:
- Return only job flows created before this date and time.
-
withCreatedBefore
public DescribeJobFlowsRequest withCreatedBefore(Date createdBefore)
Return only job flows created before this date and time.
- Parameters:
createdBefore
- Return only job flows created before this date and time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getJobFlowIds
public List<String> getJobFlowIds()
Return only job flows whose job flow ID is contained in this list.
- Returns:
- Return only job flows whose job flow ID is contained in this list.
-
setJobFlowIds
public void setJobFlowIds(Collection<String> jobFlowIds)
Return only job flows whose job flow ID is contained in this list.
- Parameters:
jobFlowIds
- Return only job flows whose job flow ID is contained in this list.
-
withJobFlowIds
public DescribeJobFlowsRequest withJobFlowIds(String... jobFlowIds)
Return only job flows whose job flow ID is contained in this list.
NOTE: This method appends the values to the existing list (if any). Use
setJobFlowIds(java.util.Collection)
orwithJobFlowIds(java.util.Collection)
if you want to override the existing values.- Parameters:
jobFlowIds
- Return only job flows whose job flow ID is contained in this list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withJobFlowIds
public DescribeJobFlowsRequest withJobFlowIds(Collection<String> jobFlowIds)
Return only job flows whose job flow ID is contained in this list.
- Parameters:
jobFlowIds
- Return only job flows whose job flow ID is contained in this list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getJobFlowStates
public List<String> getJobFlowStates()
Return only job flows whose state is contained in this list.
- Returns:
- Return only job flows whose state is contained in this list.
- See Also:
JobFlowExecutionState
-
setJobFlowStates
public void setJobFlowStates(Collection<String> jobFlowStates)
Return only job flows whose state is contained in this list.
- Parameters:
jobFlowStates
- Return only job flows whose state is contained in this list.- See Also:
JobFlowExecutionState
-
withJobFlowStates
public DescribeJobFlowsRequest withJobFlowStates(String... jobFlowStates)
Return only job flows whose state is contained in this list.
NOTE: This method appends the values to the existing list (if any). Use
setJobFlowStates(java.util.Collection)
orwithJobFlowStates(java.util.Collection)
if you want to override the existing values.- Parameters:
jobFlowStates
- Return only job flows whose state is contained in this list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
JobFlowExecutionState
-
withJobFlowStates
public DescribeJobFlowsRequest withJobFlowStates(Collection<String> jobFlowStates)
Return only job flows whose state is contained in this list.
- Parameters:
jobFlowStates
- Return only job flows whose state is contained in this list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
JobFlowExecutionState
-
withJobFlowStates
public DescribeJobFlowsRequest withJobFlowStates(JobFlowExecutionState... jobFlowStates)
Return only job flows whose state is contained in this list.
- Parameters:
jobFlowStates
- Return only job flows whose state is contained in this list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
JobFlowExecutionState
-
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 DescribeJobFlowsRequest 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()
-
-