@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class RUMCompute extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_AGGREGATION |
static String |
JSON_PROPERTY_INTERVAL |
static String |
JSON_PROPERTY_METRIC |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
RUMCompute() |
RUMCompute(RUMAggregationFunction aggregation) |
| Modifier and Type | Method and Description |
|---|---|
RUMCompute |
aggregation(RUMAggregationFunction aggregation) |
boolean |
equals(Object o)
Return true if this RUMCompute 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.
|
RUMAggregationFunction |
getAggregation()
An aggregation function.
|
String |
getInterval()
The time buckets' size (only used for type=timeseries) Defaults to a resolution of 150 points.
|
String |
getMetric()
The metric to use.
|
RUMComputeType |
getType()
The type of compute.
|
int |
hashCode() |
RUMCompute |
interval(String interval) |
RUMCompute |
metric(String metric) |
RUMCompute |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAggregation(RUMAggregationFunction aggregation) |
void |
setInterval(String interval) |
void |
setMetric(String metric) |
void |
setType(RUMComputeType type) |
String |
toString() |
RUMCompute |
type(RUMComputeType type) |
public boolean unparsed
public static final String JSON_PROPERTY_AGGREGATION
public static final String JSON_PROPERTY_INTERVAL
public static final String JSON_PROPERTY_METRIC
public static final String JSON_PROPERTY_TYPE
public RUMCompute()
public RUMCompute(RUMAggregationFunction aggregation)
public RUMCompute aggregation(RUMAggregationFunction aggregation)
public RUMAggregationFunction getAggregation()
public void setAggregation(RUMAggregationFunction aggregation)
public RUMCompute interval(String interval)
@Nullable public String getInterval()
public void setInterval(String interval)
public RUMCompute metric(String metric)
@Nullable public String getMetric()
public void setMetric(String metric)
public RUMCompute type(RUMComputeType type)
@Nullable public RUMComputeType getType()
public void setType(RUMComputeType type)
public RUMCompute 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.