Class AzureBackupFindRestorableTimeRangesRequest
java.lang.Object
com.azure.resourcemanager.dataprotection.models.AzureBackupFindRestorableTimeRangesRequest
List Restore Ranges Request.
-
Constructor Summary
ConstructorDescriptionCreates an instance of AzureBackupFindRestorableTimeRangesRequest class. -
Method Summary
Modifier and TypeMethodDescriptionendTime()
Get the endTime property: End time for the List Restore Ranges request.Get the sourceDataStoreType property: Gets or sets the type of the source data store.Get the startTime property: Start time for the List Restore Ranges request.void
validate()
Validates the instance.withEndTime
(String endTime) Set the endTime property: End time for the List Restore Ranges request.withSourceDataStoreType
(RestoreSourceDataStoreType sourceDataStoreType) Set the sourceDataStoreType property: Gets or sets the type of the source data store.withStartTime
(String startTime) Set the startTime property: Start time for the List Restore Ranges request.
-
Constructor Details
-
AzureBackupFindRestorableTimeRangesRequest
public AzureBackupFindRestorableTimeRangesRequest()Creates an instance of AzureBackupFindRestorableTimeRangesRequest class.
-
-
Method Details
-
sourceDataStoreType
Get the sourceDataStoreType property: Gets or sets the type of the source data store.- Returns:
- the sourceDataStoreType value.
-
withSourceDataStoreType
public AzureBackupFindRestorableTimeRangesRequest withSourceDataStoreType(RestoreSourceDataStoreType sourceDataStoreType) Set the sourceDataStoreType property: Gets or sets the type of the source data store.- Parameters:
sourceDataStoreType
- the sourceDataStoreType value to set.- Returns:
- the AzureBackupFindRestorableTimeRangesRequest object itself.
-
startTime
Get the startTime property: Start time for the List Restore Ranges request. ISO 8601 format.- Returns:
- the startTime value.
-
withStartTime
Set the startTime property: Start time for the List Restore Ranges request. ISO 8601 format.- Parameters:
startTime
- the startTime value to set.- Returns:
- the AzureBackupFindRestorableTimeRangesRequest object itself.
-
endTime
Get the endTime property: End time for the List Restore Ranges request. ISO 8601 format.- Returns:
- the endTime value.
-
withEndTime
Set the endTime property: End time for the List Restore Ranges request. ISO 8601 format.- Parameters:
endTime
- the endTime value to set.- Returns:
- the AzureBackupFindRestorableTimeRangesRequest object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-