public ApplyEnvironmentManagedActionRequest withEnvironmentId(String environmentId) {
        setEnvironmentId(environmentId);
        return this;
    }
<p>
The environment ID of the target environment.
</p>

@param environmentId
       The environment ID of the target environment.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-elasticbeanstalk/src/main/java/com/amazonaws/services/elasticbeanstalk/model/ApplyEnvironmentManagedActionRequest.java