Class RestorableTimeRange
java.lang.Object
com.azure.resourcemanager.dataprotection.models.RestorableTimeRange
The RestorableTimeRange model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionendTime()
Get the endTime property: End time for the available restore range.Get the objectType property: The objectType property.Get the startTime property: Start time for the available restore range.void
validate()
Validates the instance.withEndTime
(String endTime) Set the endTime property: End time for the available restore range.withObjectType
(String objectType) Set the objectType property: The objectType property.withStartTime
(String startTime) Set the startTime property: Start time for the available restore range.
-
Constructor Details
-
RestorableTimeRange
public RestorableTimeRange()Creates an instance of RestorableTimeRange class.
-
-
Method Details
-
startTime
Get the startTime property: Start time for the available restore range.- Returns:
- the startTime value.
-
withStartTime
Set the startTime property: Start time for the available restore range.- Parameters:
startTime
- the startTime value to set.- Returns:
- the RestorableTimeRange object itself.
-
endTime
Get the endTime property: End time for the available restore range.- Returns:
- the endTime value.
-
withEndTime
Set the endTime property: End time for the available restore range.- Parameters:
endTime
- the endTime value to set.- Returns:
- the RestorableTimeRange object itself.
-
objectType
Get the objectType property: The objectType property.- Returns:
- the objectType value.
-
withObjectType
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.
-