public static class MetricGroup.Builder extends Object
Constructor and Description |
---|
Builder() |
public MetricGroup.Builder id(String id)
public MetricGroup.Builder timeCreated(Date timeCreated)
public MetricGroup.Builder timeUpdated(Date timeUpdated)
public MetricGroup.Builder createdBy(String createdBy)
public MetricGroup.Builder updatedBy(String updatedBy)
public MetricGroup.Builder etag(String etag)
public MetricGroup.Builder freeformTags(Map<String,String> freeformTags)
public MetricGroup.Builder displayName(String displayName)
The name by which a configuration entity is displayed to the end user.
displayName
- the value to setpublic MetricGroup.Builder filterId(String filterId)
The OCID of a Span Filter. The filterId is mandatory for the creation of MetricGroups. A filterId is generated when a Span Filter is created.
filterId
- the value to setpublic MetricGroup.Builder namespace(String namespace)
The namespace to which the metrics are published. It must be one of several predefined namespaces.
namespace
- the value to setpublic MetricGroup.Builder dimensions(List<Dimension> dimensions)
A list of dimensions for the metric. This variable should not be used.
dimensions
- the value to setpublic MetricGroup.Builder metrics(List<Metric> metrics)
The list of metrics in this group.
metrics
- the value to setpublic MetricGroup build()
public MetricGroup.Builder copy(MetricGroup model)
Copyright © 2016–2024. All rights reserved.