@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class MetricMetadata extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_DESCRIPTION |
static String |
JSON_PROPERTY_INTEGRATION |
static String |
JSON_PROPERTY_PER_UNIT |
static String |
JSON_PROPERTY_SHORT_NAME |
static String |
JSON_PROPERTY_STATSD_INTERVAL |
static String |
JSON_PROPERTY_TYPE |
static String |
JSON_PROPERTY_UNIT |
boolean |
unparsed |
| Constructor and Description |
|---|
MetricMetadata() |
| Modifier and Type | Method and Description |
|---|---|
MetricMetadata |
description(String description) |
boolean |
equals(Object o)
Return true if this MetricMetadata object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getDescription()
Metric description.
|
String |
getIntegration()
Name of the integration that sent the metric if applicable.
|
String |
getPerUnit()
Per unit of the metric such as
second in bytes per second. |
String |
getShortName()
A more human-readable and abbreviated version of the metric name.
|
Long |
getStatsdInterval()
StatsD flush interval of the metric in seconds if applicable.
|
String |
getType()
Metric type such as
gauge or rate. |
String |
getUnit()
Primary unit of the metric such as
byte or operation. |
int |
hashCode() |
MetricMetadata |
perUnit(String perUnit) |
MetricMetadata |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setDescription(String description) |
void |
setPerUnit(String perUnit) |
void |
setShortName(String shortName) |
void |
setStatsdInterval(Long statsdInterval) |
void |
setType(String type) |
void |
setUnit(String unit) |
MetricMetadata |
shortName(String shortName) |
MetricMetadata |
statsdInterval(Long statsdInterval) |
String |
toString() |
MetricMetadata |
type(String type) |
MetricMetadata |
unit(String unit) |
public boolean unparsed
public static final String JSON_PROPERTY_DESCRIPTION
public static final String JSON_PROPERTY_INTEGRATION
public static final String JSON_PROPERTY_PER_UNIT
public static final String JSON_PROPERTY_SHORT_NAME
public static final String JSON_PROPERTY_STATSD_INTERVAL
public static final String JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_UNIT
public MetricMetadata description(String description)
@Nullable public String getDescription()
public void setDescription(String description)
@Nullable public String getIntegration()
public MetricMetadata perUnit(String perUnit)
@Nullable public String getPerUnit()
second in bytes per second.public void setPerUnit(String perUnit)
public MetricMetadata shortName(String shortName)
@Nullable public String getShortName()
public void setShortName(String shortName)
public MetricMetadata statsdInterval(Long statsdInterval)
@Nullable public Long getStatsdInterval()
public void setStatsdInterval(Long statsdInterval)
public MetricMetadata type(String type)
@Nullable public String getType()
gauge or rate.public void setType(String type)
public MetricMetadata unit(String unit)
@Nullable public String getUnit()
byte or operation.public void setUnit(String unit)
public MetricMetadata putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2024. All rights reserved.