public void setState(String state) {
        this.state = state;
    }
<p>
The state of the environment. An environment can be in one of the following states:
<code>READY_FOR_DEPLOYMENT</code>, <code>DEPLOYING</code>, <code>ROLLING_BACK</code>, or <code>ROLLED_BACK</code>
</p>

@param state
       The state of the environment. An environment can be in one of the following states:
       <code>READY_FOR_DEPLOYMENT</code>, <code>DEPLOYING</code>, <code>ROLLING_BACK</code>, or
       <code>ROLLED_BACK</code>
@see EnvironmentState
aws-java-sdk-appconfig/src/main/java/com/amazonaws/services/appconfig/model/CreateEnvironmentResult.java