Class PointInTimeRange
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.PointInTimeRange
Provides details for log ranges.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionendTime()
Get the endTime property: End time of the time range for log recovery.Get the startTime property: Start time of the time range for log recovery.void
validate()
Validates the instance.withEndTime
(OffsetDateTime endTime) Set the endTime property: End time of the time range for log recovery.withStartTime
(OffsetDateTime startTime) Set the startTime property: Start time of the time range for log recovery.
-
Constructor Details
-
PointInTimeRange
public PointInTimeRange()Creates an instance of PointInTimeRange class.
-
-
Method Details
-
startTime
Get the startTime property: Start time of the time range for log recovery.- Returns:
- the startTime value.
-
withStartTime
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
Get the endTime property: End time of the time range for log recovery.- Returns:
- the endTime value.
-
withEndTime
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.
-