QueryStatisticInner Class

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 aggregationFunction property: Aggregation function name.

List<String> databaseNames()

Get the databaseNames property: The list of database names.

OffsetDateTime endTime()

Get the endTime property: Observation end time.

String metricDisplayName()

Get the metricDisplayName property: Metric display name.

String metricName()

Get the metricName property: Metric name.

Double metricValue()

Get the metricValue property: Metric value.

String metricValueUnit()

Get the metricValueUnit property: Metric value unit.

Long queryExecutionCount()

Get the queryExecutionCount property: Number of query executions in this time interval.

String queryId()

Get the queryId property: Database query identifier.

OffsetDateTime startTime()

Get the startTime property: Observation start time.

void validate()

Validates the instance.

QueryStatisticInner withAggregationFunction(String aggregationFunction)

Set the aggregationFunction property: Aggregation function name.

QueryStatisticInner withDatabaseNames(List<String> databaseNames)

Set the databaseNames property: The list of database names.

QueryStatisticInner withEndTime(OffsetDateTime endTime)

Set the endTime property: Observation end time.

QueryStatisticInner withMetricDisplayName(String metricDisplayName)

Set the metricDisplayName property: Metric display name.

QueryStatisticInner withMetricName(String metricName)

Set the metricName property: Metric name.

QueryStatisticInner withMetricValue(Double metricValue)

Set the metricValue property: Metric value.

QueryStatisticInner withMetricValueUnit(String metricValueUnit)

Set the metricValueUnit property: Metric value unit.

QueryStatisticInner withQueryExecutionCount(Long queryExecutionCount)

Set the queryExecutionCount property: Number of query executions in this time interval.

QueryStatisticInner withQueryId(String queryId)

Set the queryId property: Database query identifier.

QueryStatisticInner withStartTime(OffsetDateTime startTime)

Set the startTime property: Observation start time.

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:

the aggregationFunction value.

databaseNames

public List databaseNames()

Get the databaseNames property: The list of database names.

Returns:

the databaseNames value.

endTime

public OffsetDateTime endTime()

Get the endTime property: Observation end time.

Returns:

the endTime value.

metricDisplayName

public String metricDisplayName()

Get the metricDisplayName property: Metric display name.

Returns:

the metricDisplayName value.

metricName

public String metricName()

Get the metricName property: Metric name.

Returns:

the metricName value.

metricValue

public Double metricValue()

Get the metricValue property: Metric value.

Returns:

the metricValue value.

metricValueUnit

public String metricValueUnit()

Get the metricValueUnit property: Metric value unit.

Returns:

the metricValueUnit value.

queryExecutionCount

public Long queryExecutionCount()

Get the queryExecutionCount property: Number of query executions in this time interval.

Returns:

the queryExecutionCount value.

queryId

public String queryId()

Get the queryId property: Database query identifier.

Returns:

the queryId value.

startTime

public OffsetDateTime startTime()

Get the startTime property: Observation start time.

Returns:

the startTime value.

validate

public void validate()

Validates the instance.

withAggregationFunction

public QueryStatisticInner withAggregationFunction(String aggregationFunction)

Set the aggregationFunction property: Aggregation function name.

Parameters:

aggregationFunction - the aggregationFunction value to set.

Returns:

the QueryStatisticInner object itself.

withDatabaseNames

public QueryStatisticInner withDatabaseNames(List databaseNames)

Set the databaseNames property: The list of database names.

Parameters:

databaseNames - the databaseNames value to set.

Returns:

the QueryStatisticInner object itself.

withEndTime

public QueryStatisticInner withEndTime(OffsetDateTime endTime)

Set the endTime property: Observation end time.

Parameters:

endTime - the endTime value to set.

Returns:

the QueryStatisticInner object itself.

withMetricDisplayName

public QueryStatisticInner withMetricDisplayName(String metricDisplayName)

Set the metricDisplayName property: Metric display name.

Parameters:

metricDisplayName - the metricDisplayName value to set.

Returns:

the QueryStatisticInner object itself.

withMetricName

public QueryStatisticInner withMetricName(String metricName)

Set the metricName property: Metric name.

Parameters:

metricName - the metricName value to set.

Returns:

the QueryStatisticInner object itself.

withMetricValue

public QueryStatisticInner withMetricValue(Double metricValue)

Set the metricValue property: Metric value.

Parameters:

metricValue - the metricValue value to set.

Returns:

the QueryStatisticInner object itself.

withMetricValueUnit

public QueryStatisticInner withMetricValueUnit(String metricValueUnit)

Set the metricValueUnit property: Metric value unit.

Parameters:

metricValueUnit - the metricValueUnit value to set.

Returns:

the QueryStatisticInner object itself.

withQueryExecutionCount

public QueryStatisticInner withQueryExecutionCount(Long queryExecutionCount)

Set the queryExecutionCount property: Number of query executions in this time interval.

Parameters:

queryExecutionCount - the queryExecutionCount value to set.

Returns:

the QueryStatisticInner object itself.

withQueryId

public QueryStatisticInner withQueryId(String queryId)

Set the queryId property: Database query identifier.

Parameters:

queryId - the queryId value to set.

Returns:

the QueryStatisticInner object itself.

withStartTime

public QueryStatisticInner withStartTime(OffsetDateTime startTime)

Set the startTime property: Observation start time.

Parameters:

startTime - the startTime value to set.

Returns:

the QueryStatisticInner object itself.

Applies to