Class AzureBackupFindRestorableTimeRangesResponse
- java.lang.Object
-
- com.azure.resourcemanager.dataprotection.models.AzureBackupFindRestorableTimeRangesResponse
-
public final class AzureBackupFindRestorableTimeRangesResponse extends Object
List Restore Ranges Response.
-
-
Constructor Summary
Constructors Constructor Description AzureBackupFindRestorableTimeRangesResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
objectType()
Get the objectType property: The objectType property.List<RestorableTimeRange>
restorableTimeRanges()
Get the restorableTimeRanges property: Returns the Restore Ranges available on the Backup Instance.void
validate()
Validates the instance.AzureBackupFindRestorableTimeRangesResponse
withObjectType(String objectType)
Set the objectType property: The objectType property.AzureBackupFindRestorableTimeRangesResponse
withRestorableTimeRanges(List<RestorableTimeRange> restorableTimeRanges)
Set the restorableTimeRanges property: Returns the Restore Ranges available on the Backup Instance.
-
-
-
Method Detail
-
restorableTimeRanges
public List<RestorableTimeRange> 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
public String objectType()
Get the objectType property: The objectType property.- Returns:
- the objectType value.
-
withObjectType
public AzureBackupFindRestorableTimeRangesResponse withObjectType(String objectType)
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.
-
-