public class Tenant extends Object
| Constructor and Description |
|---|
Tenant() |
| Modifier and Type | Method and Description |
|---|---|
Tenant |
addAggregationTemplate(AggregationTemplate template) |
boolean |
equals(Object o) |
List<AggregationTemplate> |
getAggregationTemplates()
The configured
aggregation templates for the tenant |
String |
getId() |
RetentionSettings |
getRetentionSettings()
The
data retention settings for both raw and aggregated data of
all metric types |
int |
hashCode() |
Tenant |
setId(String id) |
Tenant |
setRetention(MetricType type,
int hours) |
Tenant |
setRetention(MetricType type,
Interval interval,
int hours) |
String |
toString() |
public String getId()
public List<AggregationTemplate> getAggregationTemplates()
aggregation templates for the tenantpublic Tenant addAggregationTemplate(AggregationTemplate template)
public RetentionSettings getRetentionSettings()
data retention settings for both raw and aggregated data of
all metric typespublic Tenant setRetention(MetricType type, int hours)
public Tenant setRetention(MetricType type, Interval interval, int hours)
Copyright © 2014 Red Hat, Inc.. All rights reserved.