Class WaitStatisticProperties

java.lang.Object
com.azure.resourcemanager.mariadb.fluent.models.WaitStatisticProperties

public final class WaitStatisticProperties extends Object
The properties of a wait statistic.
  • Constructor Details

    • WaitStatisticProperties

      public WaitStatisticProperties()
      Creates an instance of WaitStatisticProperties class.
  • Method Details

    • startTime

      public OffsetDateTime startTime()
      Get the startTime property: Observation start time.
      Returns:
      the startTime value.
    • withStartTime

      public WaitStatisticProperties withStartTime(OffsetDateTime startTime)
      Set the startTime property: Observation start time.
      Parameters:
      startTime - the startTime value to set.
      Returns:
      the WaitStatisticProperties object itself.
    • endTime

      public OffsetDateTime endTime()
      Get the endTime property: Observation end time.
      Returns:
      the endTime value.
    • withEndTime

      public WaitStatisticProperties withEndTime(OffsetDateTime endTime)
      Set the endTime property: Observation end time.
      Parameters:
      endTime - the endTime value to set.
      Returns:
      the WaitStatisticProperties object itself.
    • eventName

      public String eventName()
      Get the eventName property: Wait event name.
      Returns:
      the eventName value.
    • withEventName

      public WaitStatisticProperties withEventName(String eventName)
      Set the eventName property: Wait event name.
      Parameters:
      eventName - the eventName value to set.
      Returns:
      the WaitStatisticProperties object itself.
    • eventTypeName

      public String eventTypeName()
      Get the eventTypeName property: Wait event type name.
      Returns:
      the eventTypeName value.
    • withEventTypeName

      public WaitStatisticProperties withEventTypeName(String eventTypeName)
      Set the eventTypeName property: Wait event type name.
      Parameters:
      eventTypeName - the eventTypeName value to set.
      Returns:
      the WaitStatisticProperties object itself.
    • queryId

      public Long queryId()
      Get the queryId property: Database query identifier.
      Returns:
      the queryId value.
    • withQueryId

      public WaitStatisticProperties withQueryId(Long queryId)
      Set the queryId property: Database query identifier.
      Parameters:
      queryId - the queryId value to set.
      Returns:
      the WaitStatisticProperties object itself.
    • databaseName

      public String databaseName()
      Get the databaseName property: Database Name.
      Returns:
      the databaseName value.
    • withDatabaseName

      public WaitStatisticProperties withDatabaseName(String databaseName)
      Set the databaseName property: Database Name.
      Parameters:
      databaseName - the databaseName value to set.
      Returns:
      the WaitStatisticProperties object itself.
    • userId

      public Long userId()
      Get the userId property: Database user identifier.
      Returns:
      the userId value.
    • withUserId

      public WaitStatisticProperties withUserId(Long userId)
      Set the userId property: Database user identifier.
      Parameters:
      userId - the userId value to set.
      Returns:
      the WaitStatisticProperties object itself.
    • count

      public Long count()
      Get the count property: Wait event count observed in this time interval.
      Returns:
      the count value.
    • withCount

      public WaitStatisticProperties withCount(Long count)
      Set the count property: Wait event count observed in this time interval.
      Parameters:
      count - the count value to set.
      Returns:
      the WaitStatisticProperties object itself.
    • totalTimeInMs

      public Double totalTimeInMs()
      Get the totalTimeInMs property: Total time of wait in milliseconds in this time interval.
      Returns:
      the totalTimeInMs value.
    • withTotalTimeInMs

      public WaitStatisticProperties withTotalTimeInMs(Double totalTimeInMs)
      Set the totalTimeInMs property: Total time of wait in milliseconds in this time interval.
      Parameters:
      totalTimeInMs - the totalTimeInMs value to set.
      Returns:
      the WaitStatisticProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.