public GetConsoleOutputRequest withLatest(Boolean latest) {
        setLatest(latest);
        return this;
    }
<p>
When enabled, retrieves the latest console output for the instance.
</p>
<p>
Default: disabled (<code>false</code>)
</p>

@param latest
       When enabled, retrieves the latest console output for the instance.</p>
       <p>
       Default: disabled (<code>false</code>)
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/GetConsoleOutputRequest.java