java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.PointInTimeRange

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

    • PointInTimeRange

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

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