Class AzureBackupFindRestorableTimeRangesResponse
java.lang.Object
com.azure.resourcemanager.dataprotection.models.AzureBackupFindRestorableTimeRangesResponse
List Restore Ranges Response.
-
Constructor Summary
ConstructorDescriptionCreates an instance of AzureBackupFindRestorableTimeRangesResponse class. -
Method Summary
Modifier and TypeMethodDescriptionGet the objectType property: The objectType property.Get the restorableTimeRanges property: Returns the Restore Ranges available on the Backup Instance.void
validate()
Validates the instance.withObjectType
(String objectType) Set the objectType property: The objectType property.withRestorableTimeRanges
(List<RestorableTimeRange> restorableTimeRanges) Set the restorableTimeRanges property: Returns the Restore Ranges available on the Backup Instance.
-
Constructor Details
-
AzureBackupFindRestorableTimeRangesResponse
public AzureBackupFindRestorableTimeRangesResponse()Creates an instance of AzureBackupFindRestorableTimeRangesResponse class.
-
-
Method Details
-
restorableTimeRanges
Get the restorableTimeRanges property: Returns the Restore Ranges available on the Backup Instance.- Returns:
- the restorableTimeRanges value.
-
withRestorableTimeRanges
public AzureBackupFindRestorableTimeRangesResponse withRestorableTimeRanges(List<RestorableTimeRange> restorableTimeRanges) Set the restorableTimeRanges property: Returns the Restore Ranges available on the Backup Instance.- Parameters:
restorableTimeRanges
- the restorableTimeRanges value to set.- Returns:
- the AzureBackupFindRestorableTimeRangesResponse 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 AzureBackupFindRestorableTimeRangesResponse object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-