public static class DescribeLogMonitorAttributeResponseBody.DescribeLogMonitorAttributeResponseBodyLogMonitorAggregates
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
alias
The alias of the aggregate function.
|
String |
fieldName
The name of the field in logs.
|
String |
function
The function that is used to aggregate the monitoring data of logs within an aggregation period.
|
String |
max
The maximum value.
|
String |
min
The minimum value.
|
| 构造器和说明 |
|---|
DescribeLogMonitorAttributeResponseBodyLogMonitorAggregates() |
@NameInMap(value="Alias") public String alias
The alias of the aggregate function.
@NameInMap(value="FieldName") public String fieldName
The name of the field in logs.
@NameInMap(value="Function") public String function
The function that is used to aggregate the monitoring data of logs within an aggregation period. Valid values:
* count: counts the number.
* sum: calculates the total value.
* avg: calculates the average value.
* max: selects the maximum value.
* min: selects the minimum value.
* countps: calculates the counted number of the specified field divided by the total number of seconds of the aggregation period.
* sumps: calculates the total value of the specified field divided by the total number of seconds of the aggregation period.
* distinct: counts the number of logs where the specified field appears within the aggregation period.
@NameInMap(value="Max") public String max
The maximum value.
@NameInMap(value="Min") public String min
The minimum value.
public DescribeLogMonitorAttributeResponseBodyLogMonitorAggregates()
public static DescribeLogMonitorAttributeResponseBody.DescribeLogMonitorAttributeResponseBodyLogMonitorAggregates build(Map<String,?> map) throws Exception
Exceptionpublic DescribeLogMonitorAttributeResponseBody.DescribeLogMonitorAttributeResponseBodyLogMonitorAggregates setAlias(String alias)
public String getAlias()
public DescribeLogMonitorAttributeResponseBody.DescribeLogMonitorAttributeResponseBodyLogMonitorAggregates setFieldName(String fieldName)
public String getFieldName()
public DescribeLogMonitorAttributeResponseBody.DescribeLogMonitorAttributeResponseBodyLogMonitorAggregates setFunction(String function)
public String getFunction()
public DescribeLogMonitorAttributeResponseBody.DescribeLogMonitorAttributeResponseBodyLogMonitorAggregates setMax(String max)
public String getMax()
public DescribeLogMonitorAttributeResponseBody.DescribeLogMonitorAttributeResponseBodyLogMonitorAggregates setMin(String min)
public String getMin()
Copyright © 2024. All rights reserved.