public static class SourceOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
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(List<SourceOptionsFolder> folders)
folders
- the folderspublic SourceOptions.Builder objects(List<SourceOptionsObject> objects)
objects
- the objectspublic SourceOptions.Builder siteCollections(List<SourceOptionsSiteColl> siteCollections)
siteCollections
- the siteCollectionspublic SourceOptions.Builder urls(List<SourceOptionsWebCrawl> urls)
urls
- the urlspublic SourceOptions.Builder buckets(List<SourceOptionsBuckets> buckets)
buckets
- the bucketspublic SourceOptions.Builder crawlAllBuckets(Boolean crawlAllBuckets)
crawlAllBuckets
- the crawlAllBucketsCopyright © 2021 IBM Cloud. All rights reserved.