public StopDiscovererResult withState(DiscovererState state) {
        this.state = state.toString();
        return this;
    }
<p>
The state of the discoverer.
</p>

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