public class DeactivatePipelineRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Contains the parameters for DeactivatePipeline.
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
cancelActive
Indicates whether to cancel any running objects.
|
private java.lang.String |
pipelineId
The ID of the pipeline.
|
NOOP
Constructor and Description |
---|
DeactivatePipelineRequest() |
Modifier and Type | Method and Description |
---|---|
DeactivatePipelineRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getCancelActive()
Indicates whether to cancel any running objects.
|
java.lang.String |
getPipelineId()
The ID of the pipeline.
|
int |
hashCode() |
java.lang.Boolean |
isCancelActive()
Indicates whether to cancel any running objects.
|
void |
setCancelActive(java.lang.Boolean cancelActive)
Indicates whether to cancel any running objects.
|
void |
setPipelineId(java.lang.String pipelineId)
The ID of the pipeline.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeactivatePipelineRequest |
withCancelActive(java.lang.Boolean cancelActive)
Indicates whether to cancel any running objects.
|
DeactivatePipelineRequest |
withPipelineId(java.lang.String pipelineId)
The ID of the pipeline.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String pipelineId
The ID of the pipeline.
private java.lang.Boolean 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 void setPipelineId(java.lang.String pipelineId)
The ID of the pipeline.
pipelineId
- The ID of the pipeline.public java.lang.String getPipelineId()
The ID of the pipeline.
public DeactivatePipelineRequest withPipelineId(java.lang.String pipelineId)
The ID of the pipeline.
pipelineId
- The ID of the pipeline.public void setCancelActive(java.lang.Boolean 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.
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 java.lang.Boolean getCancelActive()
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.
CANCELED
. If this value is false, the pipeline is
deactivated after all running objects finish.public DeactivatePipelineRequest withCancelActive(java.lang.Boolean 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.
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 java.lang.Boolean isCancelActive()
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.
CANCELED
. If this value is false, the pipeline is
deactivated after all running objects finish.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DeactivatePipelineRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()