public static class LinkCommandDescriptor.Builder extends Object
Constructor and Description |
---|
Builder() |
public LinkCommandDescriptor.Builder displayQueryString(String displayQueryString)
public LinkCommandDescriptor.Builder internalQueryString(String internalQueryString)
public LinkCommandDescriptor.Builder category(String category)
public LinkCommandDescriptor.Builder referencedFields(List<AbstractField> referencedFields)
public LinkCommandDescriptor.Builder declaredFields(List<AbstractField> declaredFields)
public LinkCommandDescriptor.Builder isHidden(Boolean isHidden)
public LinkCommandDescriptor.Builder shouldIncludeNulls(Boolean shouldIncludeNulls)
Option to return groups with a null value if specified.
shouldIncludeNulls
- the value to setpublic LinkCommandDescriptor.Builder shouldIncludeTrends(Boolean shouldIncludeTrends)
Option to calculate trends of each group if specified.
shouldIncludeTrends
- the value to setpublic LinkCommandDescriptor.Builder span(String span)
Option to control the size of buckets in the histogram e.g 8hrs - each bar other than first and last should represent 8hr time span. Will be adjusted to a larger span if time range is very large.
span
- the value to setpublic LinkCommandDescriptor build()
public LinkCommandDescriptor.Builder copy(LinkCommandDescriptor model)
Copyright © 2016–2024. All rights reserved.