@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeactivatePipelineRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the parameters for DeactivatePipeline.
NOOP
Constructor and Description |
---|
DeactivatePipelineRequest() |
Modifier and Type | Method and Description |
---|---|
DeactivatePipelineRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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.
|
DeactivatePipelineRequest |
withCancelActive(Boolean cancelActive)
Indicates whether to cancel any running objects.
|
DeactivatePipelineRequest |
withPipelineId(String pipelineId)
The ID of the pipeline.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setPipelineId(String pipelineId)
The ID of the pipeline.
pipelineId
- The ID of the pipeline.public String getPipelineId()
The ID of the pipeline.
public DeactivatePipelineRequest withPipelineId(String pipelineId)
The ID of the pipeline.
pipelineId
- The ID of the pipeline.public void setCancelActive(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 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(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 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 String toString()
toString
in class Object
Object.toString()
public DeactivatePipelineRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()