public SharePointConfiguration withUrls(String... urls) {
        if (this.urls == null) {
            setUrls(new java.util.ArrayList<String>(urls.length));
        }
        for (String ele : urls) {
            this.urls.add(ele);
        }
        return this;
    }
<p>
The Microsoft SharePoint site URLs for the documents you want to index.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setUrls(java.util.Collection)} or {@link #withUrls(java.util.Collection)} if you want to override the
existing values.
</p>

@param urls
       The Microsoft SharePoint site URLs for the documents you want to index.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-kendra/src/main/java/com/amazonaws/services/kendra/model/SharePointConfiguration.java