public class TerminateJobFlowsRequest extends AmazonWebServiceRequest implements Serializable
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.
Constructor and Description |
---|
TerminateJobFlowsRequest()
Default constructor for a new TerminateJobFlowsRequest object.
|
TerminateJobFlowsRequest(List<String> jobFlowIds)
Constructs a new TerminateJobFlowsRequest object.
|
Modifier and Type | Method and Description |
---|---|
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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public TerminateJobFlowsRequest()
public TerminateJobFlowsRequest(List<String> jobFlowIds)
jobFlowIds
- A list of job flows to be shutdown.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()
Copyright © 2016. All rights reserved.