public ListArchivesRequest withState(String state) {
        setState(state);
        return this;
    }
<p>
The state of the archive.
</p>

@param state
       The state of the archive.
@return Returns a reference to this object so that method calls can be chained together.
@see ArchiveState
aws-java-sdk-eventbridge/src/main/java/com/amazonaws/services/eventbridge/model/ListArchivesRequest.java