public GetLogEventsRequest withLogGroupName(String logGroupName) {
        setLogGroupName(logGroupName);
        return this;
    }
<p>
The name of the log group.
</p>
<note>
<p>
You must include either <code>logGroupIdentifier</code> or <code>logGroupName</code>, but not both.
</p>
</note>

@param logGroupName
       The name of the log group.</p> <note>
       <p>
       You must include either <code>logGroupIdentifier</code> or <code>logGroupName</code>, but not both.
       </p>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-logs/src/main/java/com/amazonaws/services/logs/model/GetLogEventsRequest.java