Class WaitStatisticsInput

java.lang.Object
com.azure.resourcemanager.mariadb.models.WaitStatisticsInput

public final class WaitStatisticsInput extends Object
Input to get wait statistics.
  • Constructor Details

    • WaitStatisticsInput

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

    • observationStartTime

      public OffsetDateTime observationStartTime()
      Get the observationStartTime property: Observation start time.
      Returns:
      the observationStartTime value.
    • withObservationStartTime

      public WaitStatisticsInput withObservationStartTime(OffsetDateTime observationStartTime)
      Set the observationStartTime property: Observation start time.
      Parameters:
      observationStartTime - the observationStartTime value to set.
      Returns:
      the WaitStatisticsInput object itself.
    • observationEndTime

      public OffsetDateTime observationEndTime()
      Get the observationEndTime property: Observation end time.
      Returns:
      the observationEndTime value.
    • withObservationEndTime

      public WaitStatisticsInput withObservationEndTime(OffsetDateTime observationEndTime)
      Set the observationEndTime property: Observation end time.
      Parameters:
      observationEndTime - the observationEndTime value to set.
      Returns:
      the WaitStatisticsInput object itself.
    • aggregationWindow

      public String aggregationWindow()
      Get the aggregationWindow property: Aggregation interval type in ISO 8601 format.
      Returns:
      the aggregationWindow value.
    • withAggregationWindow

      public WaitStatisticsInput withAggregationWindow(String aggregationWindow)
      Set the aggregationWindow property: Aggregation interval type in ISO 8601 format.
      Parameters:
      aggregationWindow - the aggregationWindow value to set.
      Returns:
      the WaitStatisticsInput object itself.
    • validate

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