public BackupJob withState(String state) {
        setState(state);
        return this;
    }
<p>
The current state of a backup job.
</p>

@param state
       The current state of a backup job.
@return Returns a reference to this object so that method calls can be chained together.
@see BackupJobState
aws-java-sdk-backup/src/main/java/com/amazonaws/services/backup/model/BackupJob.java