public ListRestoreJobSummariesRequest withState(String state) {
        setState(state);
        return this;
    }
<p>
This parameter returns the job count for jobs with the specified state.
</p>
<p>
The the value ANY returns count of all states.
</p>
<p>
<code>AGGREGATE_ALL</code> aggregates job counts for all states and returns the sum.
</p>

@param state
       This parameter returns the job count for jobs with the specified state.</p>
       <p>
       The the value ANY returns count of all states.
       </p>
       <p>
       <code>AGGREGATE_ALL</code> aggregates job counts for all states and returns the sum.
@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/ListRestoreJobSummariesRequest.java