public static class CreateMetricGroupDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateMetricGroupDetails |
build() |
CreateMetricGroupDetails.Builder |
copy(CreateMetricGroupDetails model) |
CreateMetricGroupDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags) |
CreateMetricGroupDetails.Builder |
dimensions(List<Dimension> dimensions)
A list of dimensions for the metric.
|
CreateMetricGroupDetails.Builder |
displayName(String displayName)
The name by which a configuration entity is displayed to the end user.
|
CreateMetricGroupDetails.Builder |
filterId(String filterId)
The OCID of a
Span Filter.
|
CreateMetricGroupDetails.Builder |
freeformTags(Map<String,String> freeformTags) |
CreateMetricGroupDetails.Builder |
metrics(List<Metric> metrics)
The list of metrics in this group.
|
CreateMetricGroupDetails.Builder |
namespace(String namespace)
The namespace to which the metrics are published.
|
public CreateMetricGroupDetails.Builder freeformTags(Map<String,String> freeformTags)
public CreateMetricGroupDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
public CreateMetricGroupDetails.Builder displayName(String displayName)
The name by which a configuration entity is displayed to the end user.
displayName
- the value to setpublic CreateMetricGroupDetails.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 CreateMetricGroupDetails.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 CreateMetricGroupDetails.Builder dimensions(List<Dimension> dimensions)
A list of dimensions for the metric. This variable should not be used.
dimensions
- the value to setpublic CreateMetricGroupDetails.Builder metrics(List<Metric> metrics)
The list of metrics in this group.
metrics
- the value to setpublic CreateMetricGroupDetails build()
public CreateMetricGroupDetails.Builder copy(CreateMetricGroupDetails model)
Copyright © 2016–2024. All rights reserved.