Class AzureBackupFindRestorableTimeRangesRequest
- java.lang.Object
-
- com.azure.resourcemanager.dataprotection.models.AzureBackupFindRestorableTimeRangesRequest
-
public final class AzureBackupFindRestorableTimeRangesRequest extends Object
List Restore Ranges Request.
-
-
Constructor Summary
Constructors Constructor Description AzureBackupFindRestorableTimeRangesRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
endTime()
Get the endTime property: End time for the List Restore Ranges request.RestoreSourceDataStoreType
sourceDataStoreType()
Get the sourceDataStoreType property: Gets or sets the type of the source data store.String
startTime()
Get the startTime property: Start time for the List Restore Ranges request.void
validate()
Validates the instance.AzureBackupFindRestorableTimeRangesRequest
withEndTime(String endTime)
Set the endTime property: End time for the List Restore Ranges request.AzureBackupFindRestorableTimeRangesRequest
withSourceDataStoreType(RestoreSourceDataStoreType sourceDataStoreType)
Set the sourceDataStoreType property: Gets or sets the type of the source data store.AzureBackupFindRestorableTimeRangesRequest
withStartTime(String startTime)
Set the startTime property: Start time for the List Restore Ranges request.
-
-
-
Method Detail
-
sourceDataStoreType
public RestoreSourceDataStoreType 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
public String startTime()
Get the startTime property: Start time for the List Restore Ranges request. ISO 8601 format.- Returns:
- the startTime value.
-
withStartTime
public AzureBackupFindRestorableTimeRangesRequest withStartTime(String startTime)
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
public String endTime()
Get the endTime property: End time for the List Restore Ranges request. ISO 8601 format.- Returns:
- the endTime value.
-
withEndTime
public AzureBackupFindRestorableTimeRangesRequest withEndTime(String endTime)
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.
-
-