public GetRelationalDatabaseLogEventsResult withResourceLogEvents(LogEvent... resourceLogEvents) {
        if (this.resourceLogEvents == null) {
            setResourceLogEvents(new java.util.ArrayList<LogEvent>(resourceLogEvents.length));
        }
        for (LogEvent ele : resourceLogEvents) {
            this.resourceLogEvents.add(ele);
        }
        return this;
    }
<p>
An object describing the result of your get relational database log events request.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setResourceLogEvents(java.util.Collection)} or {@link #withResourceLogEvents(java.util.Collection)} if
you want to override the existing values.
</p>

@param resourceLogEvents
       An object describing the result of your get relational database log events request.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/GetRelationalDatabaseLogEventsResult.java