public static class SourceOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
SourceOptions.Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
SourceOptions.Builder |
addBuckets(SourceOptionsBuckets buckets)
Adds an buckets to buckets.
|
SourceOptions.Builder |
addFolders(SourceOptionsFolder folders)
Adds an folders to folders.
|
SourceOptions.Builder |
addObjects(SourceOptionsObject objects)
Adds an objects to objects.
|
SourceOptions.Builder |
addSiteCollections(SourceOptionsSiteColl siteCollections)
Adds an siteCollections to siteCollections.
|
SourceOptions.Builder |
addUrls(SourceOptionsWebCrawl urls)
Adds an urls to urls.
|
SourceOptions.Builder |
buckets(java.util.List<SourceOptionsBuckets> buckets)
Set the buckets.
|
SourceOptions |
build()
Builds a SourceOptions.
|
SourceOptions.Builder |
crawlAllBuckets(java.lang.Boolean crawlAllBuckets)
Set the crawlAllBuckets.
|
SourceOptions.Builder |
folders(java.util.List<SourceOptionsFolder> folders)
Set the folders.
|
SourceOptions.Builder |
objects(java.util.List<SourceOptionsObject> objects)
Set the objects.
|
SourceOptions.Builder |
siteCollections(java.util.List<SourceOptionsSiteColl> siteCollections)
Set the siteCollections.
|
SourceOptions.Builder |
urls(java.util.List<SourceOptionsWebCrawl> urls)
Set the urls.
|
public SourceOptions build()
public SourceOptions.Builder addFolders(SourceOptionsFolder folders)
folders
- the new folderspublic SourceOptions.Builder addObjects(SourceOptionsObject objects)
objects
- the new objectspublic SourceOptions.Builder addSiteCollections(SourceOptionsSiteColl siteCollections)
siteCollections
- the new siteCollectionspublic SourceOptions.Builder addUrls(SourceOptionsWebCrawl urls)
urls
- the new urlspublic SourceOptions.Builder addBuckets(SourceOptionsBuckets buckets)
buckets
- the new bucketspublic SourceOptions.Builder folders(java.util.List<SourceOptionsFolder> folders)
folders
- the folderspublic SourceOptions.Builder objects(java.util.List<SourceOptionsObject> objects)
objects
- the objectspublic SourceOptions.Builder siteCollections(java.util.List<SourceOptionsSiteColl> siteCollections)
siteCollections
- the siteCollectionspublic SourceOptions.Builder urls(java.util.List<SourceOptionsWebCrawl> urls)
urls
- the urlspublic SourceOptions.Builder buckets(java.util.List<SourceOptionsBuckets> buckets)
buckets
- the bucketspublic SourceOptions.Builder crawlAllBuckets(java.lang.Boolean crawlAllBuckets)
crawlAllBuckets
- the crawlAllBuckets