public static class SegmentSettings.Builder
extends java.lang.Object
Constructor and Description |
---|
SegmentSettings.Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
SegmentSettings.Builder |
addAnnotatedFields(java.lang.String annotatedFields)
Adds an annotatedFields to annotatedFields.
|
SegmentSettings.Builder |
addSelectorTags(java.lang.String selectorTags)
Adds an selectorTags to selectorTags.
|
SegmentSettings.Builder |
annotatedFields(java.util.List<java.lang.String> annotatedFields)
Set the annotatedFields.
|
SegmentSettings |
build()
Builds a SegmentSettings.
|
SegmentSettings.Builder |
enabled(java.lang.Boolean enabled)
Set the enabled.
|
SegmentSettings.Builder |
selectorTags(java.util.List<java.lang.String> selectorTags)
Set the selectorTags.
|
public SegmentSettings.Builder()
public SegmentSettings build()
public SegmentSettings.Builder addSelectorTags(java.lang.String selectorTags)
selectorTags
- the new selectorTagspublic SegmentSettings.Builder addAnnotatedFields(java.lang.String annotatedFields)
annotatedFields
- the new annotatedFieldspublic SegmentSettings.Builder enabled(java.lang.Boolean enabled)
enabled
- the enabledpublic SegmentSettings.Builder selectorTags(java.util.List<java.lang.String> selectorTags)
selectorTags
- the selectorTagspublic SegmentSettings.Builder annotatedFields(java.util.List<java.lang.String> annotatedFields)
annotatedFields
- the annotatedFields