public void setInstanceState(String instanceState) {
        this.instanceState = instanceState;
    }
<p>
The state of the instance when the recommendation was generated.
</p>

@param instanceState
       The state of the instance when the recommendation was generated.
@return Returns a reference to this object so that method calls can be chained together.
@see InstanceState
aws-java-sdk-computeoptimizer/src/main/java/com/amazonaws/services/computeoptimizer/model/InstanceRecommendation.java