public CancelJobResult withCancellationStatus(CancellationStatus cancellationStatus) {
        this.cancellationStatus = cancellationStatus.toString();
        return this;
    }
<p>
The status of the job cancellation request.
</p>

@param cancellationStatus
       The status of the job cancellation request.
@return Returns a reference to this object so that method calls can be chained together.
@see CancellationStatus
aws-java-sdk-braket/src/main/java/com/amazonaws/services/braket/model/CancelJobResult.java