Class SourceOptions.Builder
java.lang.Object
com.ibm.watson.discovery.v1.model.SourceOptions.Builder
- Enclosing class:
 - SourceOptions
 
public static class SourceOptions.Builder extends Object
Builder.
- 
Constructor Summary
Constructors Constructor Description Builder()Instantiates a new builder. - 
Method Summary
 
- 
Constructor Details
- 
Builder
public Builder()Instantiates a new builder. 
 - 
 - 
Method Details
- 
build
Builds a SourceOptions.- Returns:
 - the new SourceOptions instance
 
 - 
addFolders
Adds an folders to folders.- Parameters:
 folders- the new folders- Returns:
 - the SourceOptions builder
 
 - 
addObjects
Adds an objects to objects.- Parameters:
 objects- the new objects- Returns:
 - the SourceOptions builder
 
 - 
addSiteCollections
Adds an siteCollections to siteCollections.- Parameters:
 siteCollections- the new siteCollections- Returns:
 - the SourceOptions builder
 
 - 
addUrls
Adds an urls to urls.- Parameters:
 urls- the new urls- Returns:
 - the SourceOptions builder
 
 - 
addBuckets
Adds an buckets to buckets.- Parameters:
 buckets- the new buckets- Returns:
 - the SourceOptions builder
 
 - 
folders
Set the folders. Existing folders will be replaced.- Parameters:
 folders- the folders- Returns:
 - the SourceOptions builder
 
 - 
objects
Set the objects. Existing objects will be replaced.- Parameters:
 objects- the objects- Returns:
 - the SourceOptions builder
 
 - 
siteCollections
Set the siteCollections. Existing siteCollections will be replaced.- Parameters:
 siteCollections- the siteCollections- Returns:
 - the SourceOptions builder
 
 - 
urls
Set the urls. Existing urls will be replaced.- Parameters:
 urls- the urls- Returns:
 - the SourceOptions builder
 
 - 
buckets
Set the buckets. Existing buckets will be replaced.- Parameters:
 buckets- the buckets- Returns:
 - the SourceOptions builder
 
 - 
crawlAllBuckets
Set the crawlAllBuckets.- Parameters:
 crawlAllBuckets- the crawlAllBuckets- Returns:
 - the SourceOptions builder
 
 
 -