public ListLogSubscriptionsResult withLogSubscriptions(LogSubscription... logSubscriptions) {
        if (this.logSubscriptions == null) {
            setLogSubscriptions(new com.amazonaws.internal.SdkInternalList<LogSubscription>(logSubscriptions.length));
        }
        for (LogSubscription ele : logSubscriptions) {
            this.logSubscriptions.add(ele);
        }
        return this;
    }
<p>
A list of active <a>LogSubscription</a> objects for calling the Amazon Web Services account.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setLogSubscriptions(java.util.Collection)} or {@link #withLogSubscriptions(java.util.Collection)} if you
want to override the existing values.
</p>

@param logSubscriptions
       A list of active <a>LogSubscription</a> objects for calling the Amazon Web Services account.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-directory/src/main/java/com/amazonaws/services/directory/model/ListLogSubscriptionsResult.java