@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class EventsCompute extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_AGGREGATION |
static String |
JSON_PROPERTY_INTERVAL |
static String |
JSON_PROPERTY_METRIC |
boolean |
unparsed |
| Constructor and Description |
|---|
EventsCompute() |
EventsCompute(EventsAggregation aggregation) |
| Modifier and Type | Method and Description |
|---|---|
EventsCompute |
aggregation(EventsAggregation aggregation) |
boolean |
equals(Object o)
Return true if this EventsCompute 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.
|
EventsAggregation |
getAggregation()
The type of aggregation that can be performed on events-based queries.
|
Long |
getInterval()
Interval for compute in milliseconds.
|
String |
getMetric()
The "measure" attribute on which to perform the computation.
|
int |
hashCode() |
EventsCompute |
interval(Long interval) |
EventsCompute |
metric(String metric) |
EventsCompute |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAggregation(EventsAggregation aggregation) |
void |
setInterval(Long interval) |
void |
setMetric(String metric) |
String |
toString() |
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 EventsCompute()
public EventsCompute(EventsAggregation aggregation)
public EventsCompute aggregation(EventsAggregation aggregation)
public EventsAggregation getAggregation()
public void setAggregation(EventsAggregation aggregation)
public EventsCompute interval(Long interval)
@Nullable public Long getInterval()
public void setInterval(Long interval)
public EventsCompute metric(String metric)
@Nullable public String getMetric()
public void setMetric(String metric)
public EventsCompute 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.