public void setForce(Boolean force) {
        this.force = force;
    }
<p>
(Optional) If <code>true</code> job executions with status "IN_PROGRESS" and "QUEUED" are canceled, otherwise
only job executions with status "QUEUED" are canceled. The default is <code>false</code>.
</p>
<p>
Canceling a job which is "IN_PROGRESS", will cause a device which is executing the job to be unable to update the
job execution status. Use caution and ensure that each device executing a job which is canceled is able to
recover to a valid state.
</p>

@param force
       (Optional) If <code>true</code> job executions with status "IN_PROGRESS" and "QUEUED" are canceled,
       otherwise only job executions with status "QUEUED" are canceled. The default is <code>false</code>.</p>
       <p>
       Canceling a job which is "IN_PROGRESS", will cause a device which is executing the job to be unable to
       update the job execution status. Use caution and ensure that each device executing a job which is canceled
       is able to recover to a valid state.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/CancelJobRequest.java