Class CaptureGroup.Builder
java.lang.Object
com.ibm.watson.assistant.v1.model.CaptureGroup.Builder
- Enclosing class:
- CaptureGroup
public static class CaptureGroup.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description CaptureGroup.BuilderaddLocation(Long location)Adds an location to location.CaptureGroupbuild()Builds a CaptureGroup.CaptureGroup.Buildergroup(String group)Set the group.CaptureGroup.Builderlocation(List<Long> location)Set the location.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
group- the group
-
-
Method Details
-
build
Builds a CaptureGroup.- Returns:
- the new CaptureGroup instance
-
addLocation
Adds an location to location.- Parameters:
location- the new location- Returns:
- the CaptureGroup builder
-
group
Set the group.- Parameters:
group- the group- Returns:
- the CaptureGroup builder
-
location
Set the location. Existing location will be replaced.- Parameters:
location- the location- Returns:
- the CaptureGroup builder
-