Class WaitStatisticInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.mariadb.fluent.models.WaitStatisticInner
public final class WaitStatisticInner
extends com.azure.core.management.ProxyResource
Represents a Wait Statistic.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncount()
Get the count property: Wait event count observed in this time interval.Get the databaseName property: Database Name.endTime()
Get the endTime property: Observation end time.Get the eventName property: Wait event name.Get the eventTypeName property: Wait event type name.queryId()
Get the queryId property: Database query identifier.Get the startTime property: Observation start time.Get the totalTimeInMs property: Total time of wait in milliseconds in this time interval.userId()
Get the userId property: Database user identifier.void
validate()
Validates the instance.Set the count property: Wait event count observed in this time interval.withDatabaseName
(String databaseName) Set the databaseName property: Database Name.withEndTime
(OffsetDateTime endTime) Set the endTime property: Observation end time.withEventName
(String eventName) Set the eventName property: Wait event name.withEventTypeName
(String eventTypeName) Set the eventTypeName property: Wait event type name.withQueryId
(Long queryId) Set the queryId property: Database query identifier.withStartTime
(OffsetDateTime startTime) Set the startTime property: Observation start time.withTotalTimeInMs
(Double totalTimeInMs) Set the totalTimeInMs property: Total time of wait in milliseconds in this time interval.withUserId
(Long userId) Set the userId property: Database user identifier.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
WaitStatisticInner
public WaitStatisticInner()Creates an instance of WaitStatisticInner class.
-
-
Method Details
-
startTime
Get the startTime property: Observation start time.- Returns:
- the startTime value.
-
withStartTime
Set the startTime property: Observation start time.- Parameters:
startTime
- the startTime value to set.- Returns:
- the WaitStatisticInner object itself.
-
endTime
Get the endTime property: Observation end time.- Returns:
- the endTime value.
-
withEndTime
Set the endTime property: Observation end time.- Parameters:
endTime
- the endTime value to set.- Returns:
- the WaitStatisticInner object itself.
-
eventName
Get the eventName property: Wait event name.- Returns:
- the eventName value.
-
withEventName
Set the eventName property: Wait event name.- Parameters:
eventName
- the eventName value to set.- Returns:
- the WaitStatisticInner object itself.
-
eventTypeName
Get the eventTypeName property: Wait event type name.- Returns:
- the eventTypeName value.
-
withEventTypeName
Set the eventTypeName property: Wait event type name.- Parameters:
eventTypeName
- the eventTypeName value to set.- Returns:
- the WaitStatisticInner object itself.
-
queryId
Get the queryId property: Database query identifier.- Returns:
- the queryId value.
-
withQueryId
Set the queryId property: Database query identifier.- Parameters:
queryId
- the queryId value to set.- Returns:
- the WaitStatisticInner object itself.
-
databaseName
Get the databaseName property: Database Name.- Returns:
- the databaseName value.
-
withDatabaseName
Set the databaseName property: Database Name.- Parameters:
databaseName
- the databaseName value to set.- Returns:
- the WaitStatisticInner object itself.
-
userId
Get the userId property: Database user identifier.- Returns:
- the userId value.
-
withUserId
Set the userId property: Database user identifier.- Parameters:
userId
- the userId value to set.- Returns:
- the WaitStatisticInner object itself.
-
count
Get the count property: Wait event count observed in this time interval.- Returns:
- the count value.
-
withCount
Set the count property: Wait event count observed in this time interval.- Parameters:
count
- the count value to set.- Returns:
- the WaitStatisticInner object itself.
-
totalTimeInMs
Get the totalTimeInMs property: Total time of wait in milliseconds in this time interval.- Returns:
- the totalTimeInMs value.
-
withTotalTimeInMs
Set the totalTimeInMs property: Total time of wait in milliseconds in this time interval.- Parameters:
totalTimeInMs
- the totalTimeInMs value to set.- Returns:
- the WaitStatisticInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-