public void setCancelActive(Boolean cancelActive) {
        this.cancelActive = cancelActive;
    }
<p>
Indicates whether to cancel any running objects. The default is true, which sets the state of any running objects
to <code>CANCELED</code>. If this value is false, the pipeline is deactivated after all running objects finish.
</p>

@param cancelActive
       Indicates whether to cancel any running objects. The default is true, which sets the state of any running
       objects to <code>CANCELED</code>. If this value is false, the pipeline is deactivated after all running
       objects finish.
aws-java-sdk-datapipeline/src/main/java/com/amazonaws/services/datapipeline/model/DeactivatePipelineRequest.java