public RestoreJobSummary withState(RestoreJobState state) {
        this.state = state.toString();
        return this;
    }
<p>
This value is job count for jobs with the specified state.
</p>

@param state
       This value is job count for jobs with the specified state.
@return Returns a reference to this object so that method calls can be chained together.
@see RestoreJobState
aws-java-sdk-backup/src/main/java/com/amazonaws/services/backup/model/RestoreJobSummary.java