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 a new element 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 element to be addedpublic CaptureGroup.Builder group(String group)
group
- the grouppublic CaptureGroup.Builder location(List<Long> location)
location
- the locationCopyright © 2024 IBM Cloud. All rights reserved.