Class SourceOptionsBuckets.Builder
java.lang.Object
com.ibm.watson.discovery.v1.model.SourceOptionsBuckets.Builder
- Enclosing class:
- SourceOptionsBuckets
public static class SourceOptionsBuckets.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description SourceOptionsBuckets
build()
Builds a SourceOptionsBuckets.SourceOptionsBuckets.Builder
limit(long limit)
Set the limit.SourceOptionsBuckets.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 SourceOptionsBuckets.- Returns:
- the new SourceOptionsBuckets instance
-
name
Set the name.- Parameters:
name
- the name- Returns:
- the SourceOptionsBuckets builder
-
limit
Set the limit.- Parameters:
limit
- the limit- Returns:
- the SourceOptionsBuckets builder
-