QueryStatisticInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. mysql. fluent. models. QueryStatisticInner
- com.
- com.
public final class QueryStatisticInner
extends ProxyResource
Represents a Query Statistic.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| QueryStatisticInner() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
aggregationFunction()
Get the aggregation |
| List<String> |
databaseNames()
Get the database |
|
Offset |
endTime()
Get the end |
| String |
metricDisplayName()
Get the metric |
| String |
metricName()
Get the metric |
| Double |
metricValue()
Get the metric |
| String |
metricValueUnit()
Get the metric |
| Long |
queryExecutionCount()
Get the query |
| String |
queryId()
Get the query |
|
Offset |
startTime()
Get the start |
| void |
validate()
Validates the instance. |
|
Query |
withAggregationFunction(String aggregationFunction)
Set the aggregation |
|
Query |
withDatabaseNames(List<String> databaseNames)
Set the database |
|
Query |
withEndTime(OffsetDateTime endTime)
Set the end |
|
Query |
withMetricDisplayName(String metricDisplayName)
Set the metric |
|
Query |
withMetricName(String metricName)
Set the metric |
|
Query |
withMetricValue(Double metricValue)
Set the metric |
|
Query |
withMetricValueUnit(String metricValueUnit)
Set the metric |
|
Query |
withQueryExecutionCount(Long queryExecutionCount)
Set the query |
|
Query |
withQueryId(String queryId)
Set the query |
|
Query |
withStartTime(OffsetDateTime startTime)
Set the start |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
QueryStatisticInner
public QueryStatisticInner()
Method Details
aggregationFunction
public String aggregationFunction()
Get the aggregationFunction property: Aggregation function name.
Returns:
databaseNames
public List<String> databaseNames()
Get the databaseNames property: The list of database names.
Returns:
endTime
public OffsetDateTime endTime()
Get the endTime property: Observation end time.
Returns:
metricDisplayName
public String metricDisplayName()
Get the metricDisplayName property: Metric display name.
Returns:
metricName
public String metricName()
Get the metricName property: Metric name.
Returns:
metricValue
public Double metricValue()
Get the metricValue property: Metric value.
Returns:
metricValueUnit
public String metricValueUnit()
Get the metricValueUnit property: Metric value unit.
Returns:
queryExecutionCount
public Long queryExecutionCount()
Get the queryExecutionCount property: Number of query executions in this time interval.
Returns:
queryId
public String queryId()
Get the queryId property: Database query identifier.
Returns:
startTime
public OffsetDateTime startTime()
Get the startTime property: Observation start time.
Returns:
validate
public void validate()
Validates the instance.
withAggregationFunction
public QueryStatisticInner withAggregationFunction(String aggregationFunction)
Set the aggregationFunction property: Aggregation function name.
Parameters:
Returns:
withDatabaseNames
public QueryStatisticInner withDatabaseNames(List<String> databaseNames)
Set the databaseNames property: The list of database names.
Parameters:
Returns:
withEndTime
public QueryStatisticInner withEndTime(OffsetDateTime endTime)
Set the endTime property: Observation end time.
Parameters:
Returns:
withMetricDisplayName
public QueryStatisticInner withMetricDisplayName(String metricDisplayName)
Set the metricDisplayName property: Metric display name.
Parameters:
Returns:
withMetricName
public QueryStatisticInner withMetricName(String metricName)
Set the metricName property: Metric name.
Parameters:
Returns:
withMetricValue
public QueryStatisticInner withMetricValue(Double metricValue)
Set the metricValue property: Metric value.
Parameters:
Returns:
withMetricValueUnit
public QueryStatisticInner withMetricValueUnit(String metricValueUnit)
Set the metricValueUnit property: Metric value unit.
Parameters:
Returns:
withQueryExecutionCount
public QueryStatisticInner withQueryExecutionCount(Long queryExecutionCount)
Set the queryExecutionCount property: Number of query executions in this time interval.
Parameters:
Returns:
withQueryId
public QueryStatisticInner withQueryId(String queryId)
Set the queryId property: Database query identifier.
Parameters:
Returns:
withStartTime
public QueryStatisticInner withStartTime(OffsetDateTime startTime)
Set the startTime property: Observation start time.
Parameters:
Returns: