public static class CaptureGroup.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String group)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
CaptureGroup.Builder |
addLocation(Long location)
Adds an location to location.
|
CaptureGroup |
build()
Builds a CaptureGroup.
|
CaptureGroup.Builder |
group(String group)
Set the group.
|
CaptureGroup.Builder |
location(List<Long> location)
Set the location.
|
public Builder()
public Builder(String group)
group
- the grouppublic CaptureGroup build()
public CaptureGroup.Builder addLocation(Long location)
location
- the new locationpublic CaptureGroup.Builder group(String group)
group
- the grouppublic CaptureGroup.Builder location(List<Long> location)
location
- the locationCopyright © 2021 IBM Cloud. All rights reserved.