Class WaitStatisticsInput


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

      • WaitStatisticsInput

        public WaitStatisticsInput()
    • Method Detail

      • 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.