Class SourceOptionsObject.Builder
java.lang.Object
com.ibm.watson.discovery.v1.model.SourceOptionsObject.Builder
- Enclosing class:
- SourceOptionsObject
public static class SourceOptionsObject.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description SourceOptionsObject
build()
Builds a SourceOptionsObject.SourceOptionsObject.Builder
limit(long limit)
Set the limit.SourceOptionsObject.Builder
name(String name)
Set the name.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
name
- the name
-
-
Method Details
-
build
Builds a SourceOptionsObject.- Returns:
- the new SourceOptionsObject instance
-
name
Set the name.- Parameters:
name
- the name- Returns:
- the SourceOptionsObject builder
-
limit
Set the limit.- Parameters:
limit
- the limit- Returns:
- the SourceOptionsObject builder
-