|
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(java.lang.Object obj)
|
java.lang.String |
getId()
The identifier of the pipeline to update. |
java.lang.String |
getStatus()
The new status of the pipeline: active : Enable
the pipeline, so it starts processing jobs. |
int |
hashCode()
|
void |
setId(java.lang.String id)
The identifier of the pipeline to update. |
void |
setStatus(java.lang.String status)
The new status of the pipeline: active : Enable
the pipeline, so it starts processing jobs. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
UpdatePipelineStatusRequest |
withId(java.lang.String id)
The identifier of the pipeline to update. |
UpdatePipelineStatusRequest |
withStatus(java.lang.String status)
The new status of the pipeline: active : Enable
the pipeline, so it starts 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 java.lang.String getId()
Constraints:
Pattern: ^\d{13}-\w{6}$
public void setId(java.lang.String id)
Constraints:
Pattern: ^\d{13}-\w{6}$
id
- The identifier of the pipeline to update.public UpdatePipelineStatusRequest withId(java.lang.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 java.lang.String getStatus()
active
: Enable
the pipeline, so it starts processing jobs. paused
: Disable the pipeline, so it stops processing
jobs.
Constraints:
Pattern: (^Active$)|(^Paused$)
active
: Enable
the pipeline, so it starts processing jobs. paused
: Disable the pipeline, so it stops processing
jobs. public void setStatus(java.lang.String status)
active
: Enable
the pipeline, so it starts processing jobs. paused
: Disable the pipeline, so it stops processing
jobs.
Constraints:
Pattern: (^Active$)|(^Paused$)
status
- The new status of the pipeline: active
: Enable
the pipeline, so it starts processing jobs. paused
: Disable the pipeline, so it stops processing
jobs. public UpdatePipelineStatusRequest withStatus(java.lang.String status)
active
: Enable
the pipeline, so it starts processing jobs. paused
: Disable the pipeline, so it stops processing
jobs. Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: (^Active$)|(^Paused$)
status
- The new status of the pipeline: active
: Enable
the pipeline, so it starts processing jobs. paused
: Disable the pipeline, so it stops processing
jobs. public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |