|
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.TerminateJobFlowsRequest
public class TerminateJobFlowsRequest
Container for the parameters to the TerminateJobFlows operation
.
TerminateJobFlows shuts a list of job flows down. When a job flow is shut down, any step not yet completed is canceled and the EC2 instances on which the job flow is running are stopped. Any log files not already saved are uploaded to Amazon S3 if a LogUri was specified when the job flow was created.
The call to TerminateJobFlows is asynchronous. Depending on the configuration of the job flow, it may take up to 5-20 minutes for the job flow to completely terminate and release allocated resources, such as Amazon EC2 instances.
AmazonElasticMapReduce.terminateJobFlows(TerminateJobFlowsRequest)
,
Serialized FormConstructor Summary | |
---|---|
TerminateJobFlowsRequest()
Default constructor for a new TerminateJobFlowsRequest object. |
|
TerminateJobFlowsRequest(List<String> jobFlowIds)
Constructs a new TerminateJobFlowsRequest object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
List<String> |
getJobFlowIds()
A list of job flows to be shutdown. |
int |
hashCode()
|
void |
setJobFlowIds(Collection<String> jobFlowIds)
A list of job flows to be shutdown. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
TerminateJobFlowsRequest |
withJobFlowIds(Collection<String> jobFlowIds)
A list of job flows to be shutdown. |
TerminateJobFlowsRequest |
withJobFlowIds(String... jobFlowIds)
A list of job flows to be shutdown. |
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 TerminateJobFlowsRequest()
public TerminateJobFlowsRequest(List<String> jobFlowIds)
jobFlowIds
- A list of job flows to be shutdown.Method Detail |
---|
public List<String> getJobFlowIds()
public void setJobFlowIds(Collection<String> jobFlowIds)
jobFlowIds
- A list of job flows to be shutdown.public TerminateJobFlowsRequest withJobFlowIds(String... jobFlowIds)
Returns a reference to this object so that method calls can be chained together.
jobFlowIds
- A list of job flows to be shutdown.
public TerminateJobFlowsRequest withJobFlowIds(Collection<String> jobFlowIds)
Returns a reference to this object so that method calls can be chained together.
jobFlowIds
- A list of job flows to be shutdown.
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 |