public GetEnvironmentResult withEnvironment(Environment environment) {
        setEnvironment(environment);
        return this;
    }
<p>
Describes an environment.
</p>

@param environment
       Describes an environment.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-workspacesthinclient/src/main/java/com/amazonaws/services/workspacesthinclient/model/GetEnvironmentResult.java