public abstract class MetricDefinition extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MetricDefinition.AggregationType |
static class |
MetricDefinition.MetricAvailability |
Constructor and Description |
---|
MetricDefinition() |
Modifier and Type | Method and Description |
---|---|
static MetricDefinition |
create(String resourceId,
MetricName name,
Boolean isDimensionRequired,
String unit,
MetricDefinition.AggregationType primaryAggregationType,
List<MetricDefinition.MetricAvailability> metricAvailabilities,
String id) |
abstract String |
id() |
abstract Boolean |
isDimensionRequired() |
abstract List<MetricDefinition.MetricAvailability> |
metricAvailabilities() |
abstract MetricName |
name() |
abstract MetricDefinition.AggregationType |
primaryAggregationType() |
abstract String |
resourceId() |
abstract String |
unit() |
public abstract MetricName name()
public abstract String unit()
public abstract MetricDefinition.AggregationType primaryAggregationType()
public abstract List<MetricDefinition.MetricAvailability> metricAvailabilities()
public abstract String id()
public static MetricDefinition create(String resourceId, MetricName name, Boolean isDimensionRequired, String unit, MetricDefinition.AggregationType primaryAggregationType, List<MetricDefinition.MetricAvailability> metricAvailabilities, String id)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.