public InstanceState getState() {
        return this.state;
    }
<p>
The status code and the state (<code>running</code>) for the instance.
</p>

@return The status code and the state (<code>running</code>) for the instance.
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/Instance.java