public CancelQuantumTaskRequest withQuantumTaskArn(String quantumTaskArn) {
        setQuantumTaskArn(quantumTaskArn);
        return this;
    }
<p>
The ARN of the task to cancel.
</p>

@param quantumTaskArn
       The ARN of the task to cancel.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-braket/src/main/java/com/amazonaws/services/braket/model/CancelQuantumTaskRequest.java