@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class LogsMetricResponseCompute extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_AGGREGATION_TYPE |
static String |
JSON_PROPERTY_INCLUDE_PERCENTILES |
static String |
JSON_PROPERTY_PATH |
boolean |
unparsed |
| Constructor and Description |
|---|
LogsMetricResponseCompute() |
| Modifier and Type | Method and Description |
|---|---|
LogsMetricResponseCompute |
aggregationType(LogsMetricResponseComputeAggregationType aggregationType) |
boolean |
equals(Object o)
Return true if this LogsMetricResponseCompute 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.
|
LogsMetricResponseComputeAggregationType |
getAggregationType()
The type of aggregation to use.
|
Boolean |
getIncludePercentiles()
Toggle to include or exclude percentile aggregations for distribution metrics.
|
String |
getPath()
The path to the value the log-based metric will aggregate on (only used if the aggregation type
is a "distribution").
|
int |
hashCode() |
LogsMetricResponseCompute |
includePercentiles(Boolean includePercentiles) |
LogsMetricResponseCompute |
path(String path) |
LogsMetricResponseCompute |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAggregationType(LogsMetricResponseComputeAggregationType aggregationType) |
void |
setIncludePercentiles(Boolean includePercentiles) |
void |
setPath(String path) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_AGGREGATION_TYPE
public static final String JSON_PROPERTY_INCLUDE_PERCENTILES
public static final String JSON_PROPERTY_PATH
public LogsMetricResponseCompute aggregationType(LogsMetricResponseComputeAggregationType aggregationType)
@Nullable public LogsMetricResponseComputeAggregationType getAggregationType()
public void setAggregationType(LogsMetricResponseComputeAggregationType aggregationType)
public LogsMetricResponseCompute includePercentiles(Boolean includePercentiles)
@Nullable public Boolean getIncludePercentiles()
aggregation_type is distribution.public void setIncludePercentiles(Boolean includePercentiles)
public LogsMetricResponseCompute path(String path)
@Nullable public String getPath()
public void setPath(String path)
public LogsMetricResponseCompute 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.