ValueMappingResultBuilder
Constructor
func NewValueMappingResultBuilder() *ValueMappingResultBuilder
Methods
Build
Builds the object.
func (builder *ValueMappingResultBuilder) Build() (ValueMappingResult, error)
Color
Text to use when the value matches
func (builder *ValueMappingResultBuilder) Color(color string) *ValueMappingResultBuilder
Icon
Icon to display when the value matches. Only specific visualizations.
func (builder *ValueMappingResultBuilder) Icon(icon string) *ValueMappingResultBuilder
Index
Position in the mapping array. Only used internally.
func (builder *ValueMappingResultBuilder) Index(index int32) *ValueMappingResultBuilder
Text
Text to display when the value matches
func (builder *ValueMappingResultBuilder) Text(text string) *ValueMappingResultBuilder
See also