public LookupEventsRequest withLookupAttributes(LookupAttribute... lookupAttributes) {
        if (this.lookupAttributes == null) {
            setLookupAttributes(new com.amazonaws.internal.SdkInternalList<LookupAttribute>(lookupAttributes.length));
        }
        for (LookupAttribute ele : lookupAttributes) {
            this.lookupAttributes.add(ele);
        }
        return this;
    }
public LookupEventsRequest withLookupAttributes ( LookupAttribute ... lookupAttributes ) { if ( this . lookupAttributes == null ) { setLookupAttributes ( new com . amazonaws . internal . SdkInternalList < LookupAttribute > ( lookupAttributes . length ) ) ; } for ( LookupAttribute ele : lookupAttributes ) { this . lookupAttributes . add ( ele ) ; } return this ; }
<p>
Contains a list of lookup attributes. Currently the list can contain only one item.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setLookupAttributes(java.util.Collection)} or {@link #withLookupAttributes(java.util.Collection)} if you
want to override the existing values.
</p>

@param lookupAttributes
Contains a list of lookup attributes. Currently the list can contain only one item.
@return Returns a reference to this object so that method calls can be chained together.