Class PointInTimeRange


  • public final class PointInTimeRange
    extends Object
    Provides details for log ranges.
    • Constructor Detail

      • PointInTimeRange

        public PointInTimeRange()
    • Method Detail

      • startTime

        public OffsetDateTime startTime()
        Get the startTime property: Start time of the time range for log recovery.
        Returns:
        the startTime value.
      • withStartTime

        public PointInTimeRange withStartTime​(OffsetDateTime startTime)
        Set the startTime property: Start time of the time range for log recovery.
        Parameters:
        startTime - the startTime value to set.
        Returns:
        the PointInTimeRange object itself.
      • endTime

        public OffsetDateTime endTime()
        Get the endTime property: End time of the time range for log recovery.
        Returns:
        the endTime value.
      • withEndTime

        public PointInTimeRange withEndTime​(OffsetDateTime endTime)
        Set the endTime property: End time of the time range for log recovery.
        Parameters:
        endTime - the endTime value to set.
        Returns:
        the PointInTimeRange object itself.
      • validate

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