public ListRestoreJobsByProtectedResourceRequest withByStatus(String byStatus) {
        setByStatus(byStatus);
        return this;
    }
<p>
Returns only restore jobs associated with the specified job status.
</p>

@param byStatus
       Returns only restore jobs associated with the specified job status.
@return Returns a reference to this object so that method calls can be chained together.
@see RestoreJobStatus
aws-java-sdk-backup/src/main/java/com/amazonaws/services/backup/model/ListRestoreJobsByProtectedResourceRequest.java