public SearchEntitiesResult withDescriptions(EntityDescription... descriptions) {
        if (this.descriptions == null) {
            setDescriptions(new java.util.ArrayList<EntityDescription>(descriptions.length));
        }
        for (EntityDescription ele : descriptions) {
            this.descriptions.add(ele);
        }
        return this;
    }
<p>
An array of descriptions for each entity returned in the search result.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setDescriptions(java.util.Collection)} or {@link #withDescriptions(java.util.Collection)} if you want to
override the existing values.
</p>

@param descriptions
       An array of descriptions for each entity returned in the search result.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iotthingsgraph/src/main/java/com/amazonaws/services/iotthingsgraph/model/SearchEntitiesResult.java