public class DeactivatePipelineRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DeactivatePipeline operation.
Deactivates the specified running pipeline. The pipeline is set to the
DEACTIVATING state until the deactivation process
completes.
To resume a deactivated pipeline, use ActivatePipeline. By default, the pipeline resumes from the last completed execution. Optionally, you can specify the date and time to resume the pipeline.
NOOP| Constructor and Description |
|---|
DeactivatePipelineRequest() |
| Modifier and Type | Method and Description |
|---|---|
DeactivatePipelineRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
Boolean |
getCancelActive()
Indicates whether to cancel any running objects.
|
String |
getPipelineId()
The ID of the pipeline.
|
int |
hashCode() |
Boolean |
isCancelActive()
Indicates whether to cancel any running objects.
|
void |
setCancelActive(Boolean cancelActive)
Indicates whether to cancel any running objects.
|
void |
setPipelineId(String pipelineId)
The ID of the pipeline.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeactivatePipelineRequest |
withCancelActive(Boolean cancelActive)
Indicates whether to cancel any running objects.
|
DeactivatePipelineRequest |
withPipelineId(String pipelineId)
The ID of the pipeline.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getPipelineId()
Constraints:
Length: 1 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setPipelineId(String pipelineId)
Constraints:
Length: 1 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
pipelineId - The ID of the pipeline.public DeactivatePipelineRequest withPipelineId(String pipelineId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
pipelineId - The ID of the pipeline.public Boolean isCancelActive()
CANCELED.
If this value is false, the pipeline is deactivated after all running
objects finish.CANCELED.
If this value is false, the pipeline is deactivated after all running
objects finish.public void setCancelActive(Boolean cancelActive)
CANCELED.
If this value is false, the pipeline is deactivated after all running
objects finish.cancelActive - Indicates whether to cancel any running objects. The default is true,
which sets the state of any running objects to CANCELED.
If this value is false, the pipeline is deactivated after all running
objects finish.public DeactivatePipelineRequest withCancelActive(Boolean cancelActive)
CANCELED.
If this value is false, the pipeline is deactivated after all running
objects finish.
Returns a reference to this object so that method calls can be chained together.
cancelActive - Indicates whether to cancel any running objects. The default is true,
which sets the state of any running objects to CANCELED.
If this value is false, the pipeline is deactivated after all running
objects finish.public Boolean getCancelActive()
CANCELED.
If this value is false, the pipeline is deactivated after all running
objects finish.CANCELED.
If this value is false, the pipeline is deactivated after all running
objects finish.public String toString()
toString in class ObjectObject.toString()public DeactivatePipelineRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2015. All rights reserved.