Class AzureBackupFindRestorableTimeRangesRequest

java.lang.Object
com.azure.resourcemanager.dataprotection.models.AzureBackupFindRestorableTimeRangesRequest

public final class AzureBackupFindRestorableTimeRangesRequest extends Object
List Restore Ranges Request.
  • Constructor Details

    • AzureBackupFindRestorableTimeRangesRequest

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

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