public ConfigurationSettingsDescription withDeploymentStatus(ConfigurationDeploymentStatus deploymentStatus) {
        this.deploymentStatus = deploymentStatus.toString();
        return this;
    }
<p>
If this configuration set is associated with an environment, the <code>DeploymentStatus</code> parameter
indicates the deployment status of this configuration set:
</p>
<ul>
<li>
<p>
<code>null</code>: This configuration is not associated with a running environment.
</p>
</li>
<li>
<p>
<code>pending</code>: This is a draft configuration that is not deployed to the associated environment but is in
the process of deploying.
</p>
</li>
<li>
<p>
<code>deployed</code>: This is the configuration that is currently deployed to the associated running
environment.
</p>
</li>
<li>
<p>
<code>failed</code>: This is a draft configuration that failed to successfully deploy.
</p>
</li>
</ul>

@param deploymentStatus
       If this configuration set is associated with an environment, the <code>DeploymentStatus</code> parameter
       indicates the deployment status of this configuration set: </p>
       <ul>
       <li>
       <p>
       <code>null</code>: This configuration is not associated with a running environment.
       </p>
       </li>
       <li>
       <p>
       <code>pending</code>: This is a draft configuration that is not deployed to the associated environment but
       is in the process of deploying.
       </p>
       </li>
       <li>
       <p>
       <code>deployed</code>: This is the configuration that is currently deployed to the associated running
       environment.
       </p>
       </li>
       <li>
       <p>
       <code>failed</code>: This is a draft configuration that failed to successfully deploy.
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
@see ConfigurationDeploymentStatus
aws-java-sdk-elasticbeanstalk/src/main/java/com/amazonaws/services/elasticbeanstalk/model/ConfigurationSettingsDescription.java