Class RestorableTimeRange


  • public final class RestorableTimeRange
    extends Object
    The RestorableTimeRange model.
    • Constructor Detail

      • RestorableTimeRange

        public RestorableTimeRange()
    • Method Detail

      • startTime

        public String startTime()
        Get the startTime property: Start time for the available restore range.
        Returns:
        the startTime value.
      • withStartTime

        public RestorableTimeRange withStartTime​(String startTime)
        Set the startTime property: Start time for the available restore range.
        Parameters:
        startTime - the startTime value to set.
        Returns:
        the RestorableTimeRange object itself.
      • endTime

        public String endTime()
        Get the endTime property: End time for the available restore range.
        Returns:
        the endTime value.
      • withEndTime

        public RestorableTimeRange withEndTime​(String endTime)
        Set the endTime property: End time for the available restore range.
        Parameters:
        endTime - the endTime value to set.
        Returns:
        the RestorableTimeRange object itself.
      • objectType

        public String objectType()
        Get the objectType property: The objectType property.
        Returns:
        the objectType value.
      • withObjectType

        public RestorableTimeRange withObjectType​(String objectType)
        Set the objectType property: The objectType property.
        Parameters:
        objectType - the objectType value to set.
        Returns:
        the RestorableTimeRange object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.