public HypervisorDetails withState(String state) {
        setState(state);
        return this;
    }
<p>
This is the current state of the specified hypervisor.
</p>
<p>
The possible states are <code>PENDING</code>, <code>ONLINE</code>, <code>OFFLINE</code>, or <code>ERROR</code>.
</p>

@param state
       This is the current state of the specified hypervisor.</p>
       <p>
       The possible states are <code>PENDING</code>, <code>ONLINE</code>, <code>OFFLINE</code>, or
       <code>ERROR</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see HypervisorState
aws-java-sdk-backupgateway/src/main/java/com/amazonaws/services/backupgateway/model/HypervisorDetails.java