public SearchRequest withAdditionalAttributes(SearchOutputAdditionalAttribute... additionalAttributes) {
        java.util.ArrayList<String> additionalAttributesCopy = new java.util.ArrayList<String>(additionalAttributes.length);
        for (SearchOutputAdditionalAttribute value : additionalAttributes) {
            additionalAttributesCopy.add(value.toString());
        }
        if (getAdditionalAttributes() == null) {
            setAdditionalAttributes(additionalAttributesCopy);
        } else {
            getAdditionalAttributes().addAll(additionalAttributesCopy);
        }
        return this;
    }
<p>
Specifies additional attributes for the <code>Search</code> action.
</p>

@param additionalAttributes
       Specifies additional attributes for the <code>Search</code> action.
@return Returns a reference to this object so that method calls can be chained together.
@see SearchOutputAdditionalAttribute
aws-java-sdk-datazoneexternal/src/main/java/com/amazonaws/services/datazone/model/SearchRequest.java