|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.elasticmapreduce.model.DescribeJobFlowsRequest
public class DescribeJobFlowsRequest
Container for the parameters to the DescribeJobFlows operation
.
DescribeJobFlows returns a list of job flows that match all of the supplied parameters. The parameters can include a list of job flow IDs, job flow states, and restrictions on job flow creation date and time.
Regardless of supplied parameters, only job flows created within the last two months are returned.
If no parameters are supplied, then job flows matching either of the following criteria are returned:
RUNNING
,
WAITING
,
SHUTTING_DOWN
,
STARTING
Amazon Elastic MapReduce can return a maximum of 512 job flow descriptions.
AmazonElasticMapReduce.describeJobFlows(DescribeJobFlowsRequest)
,
Serialized FormConstructor Summary | |
---|---|
DescribeJobFlowsRequest()
Default constructor for a new DescribeJobFlowsRequest object. |
|
DescribeJobFlowsRequest(List<String> jobFlowIds)
Constructs a new DescribeJobFlowsRequest object. |
Method Summary | |
---|---|
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(Collection<String> jobFlowIds)
Return only job flows whose job flow ID is contained in this list. |
DescribeJobFlowsRequest |
withJobFlowIds(String... jobFlowIds)
Return only job flows whose job flow ID is contained in this list. |
DescribeJobFlowsRequest |
withJobFlowStates(Collection<String> 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. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DescribeJobFlowsRequest()
public DescribeJobFlowsRequest(List<String> jobFlowIds)
jobFlowIds
- Return only job flows whose job flow ID is contained
in this list.Method Detail |
---|
public Date getCreatedAfter()
public void setCreatedAfter(Date createdAfter)
createdAfter
- Return only job flows created after this date and time.public DescribeJobFlowsRequest withCreatedAfter(Date createdAfter)
Returns a reference to this object so that method calls can be chained together.
createdAfter
- Return only job flows created after this date and time.
public Date getCreatedBefore()
public void setCreatedBefore(Date createdBefore)
createdBefore
- Return only job flows created before this date and time.public DescribeJobFlowsRequest withCreatedBefore(Date createdBefore)
Returns a reference to this object so that method calls can be chained together.
createdBefore
- Return only job flows created before this date and time.
public List<String> getJobFlowIds()
public void setJobFlowIds(Collection<String> jobFlowIds)
jobFlowIds
- Return only job flows whose job flow ID is contained in this list.public DescribeJobFlowsRequest withJobFlowIds(String... jobFlowIds)
Returns a reference to this object so that method calls can be chained together.
jobFlowIds
- Return only job flows whose job flow ID is contained in this list.
public DescribeJobFlowsRequest withJobFlowIds(Collection<String> jobFlowIds)
Returns a reference to this object so that method calls can be chained together.
jobFlowIds
- Return only job flows whose job flow ID is contained in this list.
public List<String> getJobFlowStates()
public void setJobFlowStates(Collection<String> jobFlowStates)
jobFlowStates
- Return only job flows whose state is contained in this list.public DescribeJobFlowsRequest withJobFlowStates(String... jobFlowStates)
Returns a reference to this object so that method calls can be chained together.
jobFlowStates
- Return only job flows whose state is contained in this list.
public DescribeJobFlowsRequest withJobFlowStates(Collection<String> jobFlowStates)
Returns a reference to this object so that method calls can be chained together.
jobFlowStates
- Return only job flows whose state is contained in this list.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |