|
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.elastictranscoder.model.UpdatePipelineStatusRequest
public class UpdatePipelineStatusRequest
Container for the parameters to the UpdatePipelineStatus operation
.
To pause or reactivate a pipeline, so the pipeline stops or restarts processing jobs, update the status for the pipeline. Send a POST request to the
/2012-09-25/pipelines/[pipelineId]/status
resource.
Changing the pipeline status is useful if you want to cancel one or more jobs. You can't cancel jobs after Elastic Transcoder has started processing them; if you pause the pipeline to which you submitted the jobs, you have more time to get the job IDs for the jobs that you want to cancel, and to send a CancelJob request.
AmazonElasticTranscoder.updatePipelineStatus(UpdatePipelineStatusRequest)
,
Serialized FormConstructor Summary | |
---|---|
UpdatePipelineStatusRequest()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getId()
The identifier of the pipeline to update. |
String |
getStatus()
The desired status of the pipeline: Active : The
pipeline is processing jobs. Paused : The
pipeline is not currently processing jobs. |
int |
hashCode()
|
void |
setId(String id)
The identifier of the pipeline to update. |
void |
setStatus(String status)
The desired status of the pipeline: Active : The
pipeline is processing jobs. Paused : The
pipeline is not currently processing jobs. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
UpdatePipelineStatusRequest |
withId(String id)
The identifier of the pipeline to update. |
UpdatePipelineStatusRequest |
withStatus(String status)
The desired status of the pipeline: Active : The
pipeline is processing jobs. Paused : The
pipeline is not currently processing jobs. |
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 UpdatePipelineStatusRequest()
Method Detail |
---|
public String getId()
Constraints:
Pattern: ^\d{13}-\w{6}$
public void setId(String id)
Constraints:
Pattern: ^\d{13}-\w{6}$
id
- The identifier of the pipeline to update.public UpdatePipelineStatusRequest withId(String id)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: ^\d{13}-\w{6}$
id
- The identifier of the pipeline to update.
public String getStatus()
Active
: The
pipeline is processing jobs.Paused
: The
pipeline is not currently processing jobs.
Constraints:
Pattern: (^Active$)|(^Paused$)
Active
: The
pipeline is processing jobs.Paused
: The
pipeline is not currently processing jobs.public void setStatus(String status)
Active
: The
pipeline is processing jobs.Paused
: The
pipeline is not currently processing jobs.
Constraints:
Pattern: (^Active$)|(^Paused$)
status
- The desired status of the pipeline: Active
: The
pipeline is processing jobs.Paused
: The
pipeline is not currently processing jobs.public UpdatePipelineStatusRequest withStatus(String status)
Active
: The
pipeline is processing jobs.Paused
: The
pipeline is not currently processing jobs.Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: (^Active$)|(^Paused$)
status
- The desired status of the pipeline: Active
: The
pipeline is processing jobs.Paused
: The
pipeline is not currently processing jobs.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 |