public RestoreEventDataStoreResult withAdvancedEventSelectors(AdvancedEventSelector... advancedEventSelectors) {
        if (this.advancedEventSelectors == null) {
            setAdvancedEventSelectors(new com.amazonaws.internal.SdkInternalList<AdvancedEventSelector>(advancedEventSelectors.length));
        }
        for (AdvancedEventSelector ele : advancedEventSelectors) {
            this.advancedEventSelectors.add(ele);
        }
        return this;
    }
<p>
The advanced event selectors that were used to select events.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAdvancedEventSelectors(java.util.Collection)} or
{@link #withAdvancedEventSelectors(java.util.Collection)} if you want to override the existing values.
</p>

@param advancedEventSelectors
       The advanced event selectors that were used to select events.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudtrail/src/main/java/com/amazonaws/services/cloudtrail/model/RestoreEventDataStoreResult.java