@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class LogsCompute 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 |
|---|
LogsCompute() |
LogsCompute(LogsAggregationFunction aggregation) |
| Modifier and Type | Method and Description |
|---|---|
LogsCompute |
aggregation(LogsAggregationFunction aggregation) |
boolean |
equals(Object o)
Return true if this LogsCompute 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.
|
LogsAggregationFunction |
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
|
LogsComputeType |
getType()
The type of compute
|
int |
hashCode() |
LogsCompute |
interval(String interval) |
LogsCompute |
metric(String metric) |
LogsCompute |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAggregation(LogsAggregationFunction aggregation) |
void |
setInterval(String interval) |
void |
setMetric(String metric) |
void |
setType(LogsComputeType type) |
String |
toString() |
LogsCompute |
type(LogsComputeType 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 LogsCompute()
public LogsCompute(LogsAggregationFunction aggregation)
public LogsCompute aggregation(LogsAggregationFunction aggregation)
public LogsAggregationFunction getAggregation()
public void setAggregation(LogsAggregationFunction aggregation)
public LogsCompute interval(String interval)
@Nullable public String getInterval()
public void setInterval(String interval)
public LogsCompute metric(String metric)
@Nullable public String getMetric()
public void setMetric(String metric)
public LogsCompute type(LogsComputeType type)
@Nullable public LogsComputeType getType()
public void setType(LogsComputeType type)
public LogsCompute 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.