public static final class GraphConfiguration.Builder
extends java.lang.Object
GraphConfiguration.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
GraphConfiguration. |
| Modifier and Type | Method and Description |
|---|---|
GraphConfiguration |
build() |
GraphConfiguration.Builder |
setAxes(Axes axes) |
GraphConfiguration.Builder |
setCondition(java.lang.String condition)
If the condition is met then the widget will be displayed to UI.
|
GraphConfiguration.Builder |
setCreateTime(java.lang.Long createTime)
Timestamp of resource creation format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
GraphConfiguration.Builder |
setCreateUser(java.lang.String createUser)
ID of the user who created this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
GraphConfiguration.Builder |
setDatasources(java.util.List<Datasource> datasources)
The 'datasources' represent the sources from which data will be fetched.
|
GraphConfiguration.Builder |
setDefaultFilterValue(java.util.List<DefaultFilterValue> defaultFilterValue)
Default filter values to be passed to datasources.
|
GraphConfiguration.Builder |
setDescription(java.lang.String description)
Description of this resource
|
GraphConfiguration.Builder |
setDisplayName(java.lang.String displayName)
Title of the widget.
|
GraphConfiguration.Builder |
setDisplayxValue(java.lang.Boolean displayxValue)
If true, value of a point is shown as label on X axis.
|
GraphConfiguration.Builder |
setDrilldownId(java.lang.String drilldownId)
Id of drilldown widget, if any.
|
GraphConfiguration.Builder |
setFeatureSet(FeatureSet featureSet) |
GraphConfiguration.Builder |
setFilter(java.lang.String filter)
Id of filter widget for subscription, if any.
|
GraphConfiguration.Builder |
setFilters(java.util.List<java.lang.String> filters)
A List of filter applied to this widget configuration.
|
GraphConfiguration.Builder |
setFilterValueRequired(java.lang.Boolean filterValueRequired)
Flag to indicate that widget will continue to work without filter value.
|
GraphConfiguration.Builder |
setFooter(Footer footer) |
GraphConfiguration.Builder |
setGraphs(java.util.List<GraphDefinition> graphs)
Graphs
|
GraphConfiguration.Builder |
setGraphsColors(java.util.List<java.lang.String> graphsColors)
An array of graphs colors which will be applied to each graph seperately.
|
GraphConfiguration.Builder |
setIcons(java.util.List<Icon> icons)
Icons to be applied at dashboard for widgets and UI elements.
|
GraphConfiguration.Builder |
setId(java.lang.String id)
Unique identifier of this resource
|
GraphConfiguration.Builder |
setIsDrilldown(java.lang.Boolean isDrilldown)
Set to true if this widget should be used as a drilldown.
|
GraphConfiguration.Builder |
setLastModifiedTime(java.lang.Long lastModifiedTime)
Timestamp of last modification format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
GraphConfiguration.Builder |
setLastModifiedUser(java.lang.String lastModifiedUser)
ID of the user who last modified this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
GraphConfiguration.Builder |
setLegend(Legend legend) |
GraphConfiguration.Builder |
setLineChartPlotConfigs(java.util.List<LineChartPlotConfiguration> lineChartPlotConfigs)
List of line chart plotting configuration.
|
GraphConfiguration.Builder |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
GraphConfiguration.Builder |
setNavigation(java.lang.String navigation)
Hyperlink of the specified UI page that provides details.
|
GraphConfiguration.Builder |
setPlotConfigs(java.util.List<WidgetPlotConfiguration> plotConfigs)
List of plotting configuration for a given widget.
|
GraphConfiguration.Builder |
setProtection(java.lang.String protection)
Protection status is one of the following: PROTECTED - the client who retrieved
the entity is not allowed to modify it.
|
GraphConfiguration.Builder |
setRevision(java.lang.Long revision)
The _revision property describes the current revision of the resource.
|
GraphConfiguration.Builder |
setRowspan(java.lang.Long rowspan)
Represents the vertical span of the widget / container.
|
GraphConfiguration.Builder |
setSchema(java.lang.String schema)
Schema for this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
GraphConfiguration.Builder |
setSelf(SelfResourceLink self) |
GraphConfiguration.Builder |
setShared(java.lang.Boolean shared)
Please use the property 'shared' of View instead of this.
|
GraphConfiguration.Builder |
setShowHeader(java.lang.Boolean showHeader)
If the value of this field is set to true then card header will be displayed
otherwise only card will be displayed without header.
|
GraphConfiguration.Builder |
setSpan(java.lang.Long span)
Represents the horizontal span of the widget / container.
|
GraphConfiguration.Builder |
setSubType(java.lang.String subType)
Possible values are:
GraphConfiguration.SUB_TYPE_LINE_GRAPH GraphConfiguration.SUB_TYPE_BAR_GRAPH GraphConfiguration.SUB_TYPE_STACKED_BAR_GRAPH
Describes the the type of graph. |
GraphConfiguration.Builder |
setSystemOwned(java.lang.Boolean systemOwned)
Indicates system owned resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
GraphConfiguration.Builder |
setTags(java.util.List<Tag> tags)
Opaque identifiers meaningful to the API user
|
GraphConfiguration.Builder |
setWeight(java.lang.Long weight)
Specify relavite weight in WidgetItem for placement in a view.
|
GraphConfiguration.Builder |
setxValueType(java.lang.String xValueType)
|
GraphConfiguration.Builder |
setyValueType(java.lang.String yValueType)
Possible values are:
GraphConfiguration.Y_VALUE_TYPE_INTEGER GraphConfiguration.Y_VALUE_TYPE_DOUBLE y value
type. |
public Builder()
GraphConfiguration.public GraphConfiguration.Builder setAxes(Axes axes)
axes - New value for the property.public GraphConfiguration.Builder setDisplayxValue(java.lang.Boolean displayxValue)
displayxValue - New value for the property.public GraphConfiguration.Builder setGraphs(java.util.List<GraphDefinition> graphs)
graphs - New value for the property.public GraphConfiguration.Builder setGraphsColors(java.util.List<java.lang.String> graphsColors)
graphsColors - New value for the property.public GraphConfiguration.Builder setLineChartPlotConfigs(java.util.List<LineChartPlotConfiguration> lineChartPlotConfigs)
lineChartPlotConfigs - New value for the property.public GraphConfiguration.Builder setNavigation(java.lang.String navigation)
navigation - New value for the property.public GraphConfiguration.Builder setSubType(java.lang.String subType)
subType - New value for the property.public GraphConfiguration.Builder setxValueType(java.lang.String xValueType)
xValueType - New value for the property.public GraphConfiguration.Builder setyValueType(java.lang.String yValueType)
yValueType - New value for the property.public GraphConfiguration.Builder setLinks(java.util.List<ResourceLink> links)
links - New value for the property.public GraphConfiguration.Builder setSchema(java.lang.String schema)
schema - New value for the property.public GraphConfiguration.Builder setSelf(SelfResourceLink self)
self - New value for the property.public GraphConfiguration.Builder setRevision(java.lang.Long revision)
revision - New value for the property.public GraphConfiguration.Builder setCreateTime(java.lang.Long createTime)
createTime - New value for the property.public GraphConfiguration.Builder setCreateUser(java.lang.String createUser)
createUser - New value for the property.public GraphConfiguration.Builder setLastModifiedTime(java.lang.Long lastModifiedTime)
lastModifiedTime - New value for the property.public GraphConfiguration.Builder setLastModifiedUser(java.lang.String lastModifiedUser)
lastModifiedUser - New value for the property.public GraphConfiguration.Builder setProtection(java.lang.String protection)
protection - New value for the property.public GraphConfiguration.Builder setSystemOwned(java.lang.Boolean systemOwned)
systemOwned - New value for the property.public GraphConfiguration.Builder setDescription(java.lang.String description)
description - New value for the property.public GraphConfiguration.Builder setDisplayName(java.lang.String displayName)
displayName - New value for the property.public GraphConfiguration.Builder setId(java.lang.String id)
id - New value for the property.public GraphConfiguration.Builder setTags(java.util.List<Tag> tags)
tags - New value for the property.public GraphConfiguration.Builder setCondition(java.lang.String condition)
condition - New value for the property.public GraphConfiguration.Builder setDatasources(java.util.List<Datasource> datasources)
datasources - New value for the property.public GraphConfiguration.Builder setDefaultFilterValue(java.util.List<DefaultFilterValue> defaultFilterValue)
defaultFilterValue - New value for the property.public GraphConfiguration.Builder setDrilldownId(java.lang.String drilldownId)
drilldownId - New value for the property.public GraphConfiguration.Builder setFeatureSet(FeatureSet featureSet)
featureSet - New value for the property.public GraphConfiguration.Builder setFilter(java.lang.String filter)
filter - New value for the property.public GraphConfiguration.Builder setFilterValueRequired(java.lang.Boolean filterValueRequired)
filterValueRequired - New value for the property.public GraphConfiguration.Builder setFilters(java.util.List<java.lang.String> filters)
filters - New value for the property.public GraphConfiguration.Builder setFooter(Footer footer)
footer - New value for the property.public GraphConfiguration.Builder setIcons(java.util.List<Icon> icons)
icons - New value for the property.public GraphConfiguration.Builder setIsDrilldown(java.lang.Boolean isDrilldown)
isDrilldown - New value for the property.public GraphConfiguration.Builder setLegend(Legend legend)
legend - New value for the property.public GraphConfiguration.Builder setPlotConfigs(java.util.List<WidgetPlotConfiguration> plotConfigs)
plotConfigs - New value for the property.public GraphConfiguration.Builder setRowspan(java.lang.Long rowspan)
rowspan - New value for the property.public GraphConfiguration.Builder setShared(java.lang.Boolean shared)
shared - New value for the property.public GraphConfiguration.Builder setShowHeader(java.lang.Boolean showHeader)
showHeader - New value for the property.public GraphConfiguration.Builder setSpan(java.lang.Long span)
span - New value for the property.public GraphConfiguration.Builder setWeight(java.lang.Long weight)
weight - New value for the property.public GraphConfiguration build()