Class BackupInstancesValidateForRestoreHeaders
- java.lang.Object
-
- com.azure.resourcemanager.dataprotection.models.BackupInstancesValidateForRestoreHeaders
-
public final class BackupInstancesValidateForRestoreHeaders extends Object
The BackupInstancesValidateForRestoreHeaders model.
-
-
Constructor Summary
Constructors Constructor Description BackupInstancesValidateForRestoreHeaders()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
azureAsyncOperation()
Get the azureAsyncOperation property: The Azure-AsyncOperation property.String
location()
Get the location property: The Location property.Integer
retryAfter()
Get the retryAfter property: The Retry-After property.void
validate()
Validates the instance.BackupInstancesValidateForRestoreHeaders
withAzureAsyncOperation(String azureAsyncOperation)
Set the azureAsyncOperation property: The Azure-AsyncOperation property.BackupInstancesValidateForRestoreHeaders
withLocation(String location)
Set the location property: The Location property.BackupInstancesValidateForRestoreHeaders
withRetryAfter(Integer retryAfter)
Set the retryAfter property: The Retry-After property.
-
-
-
Method Detail
-
retryAfter
public Integer retryAfter()
Get the retryAfter property: The Retry-After property.- Returns:
- the retryAfter value.
-
withRetryAfter
public BackupInstancesValidateForRestoreHeaders withRetryAfter(Integer retryAfter)
Set the retryAfter property: The Retry-After property.- Parameters:
retryAfter
- the retryAfter value to set.- Returns:
- the BackupInstancesValidateForRestoreHeaders object itself.
-
azureAsyncOperation
public String azureAsyncOperation()
Get the azureAsyncOperation property: The Azure-AsyncOperation property.- Returns:
- the azureAsyncOperation value.
-
withAzureAsyncOperation
public BackupInstancesValidateForRestoreHeaders withAzureAsyncOperation(String azureAsyncOperation)
Set the azureAsyncOperation property: The Azure-AsyncOperation property.- Parameters:
azureAsyncOperation
- the azureAsyncOperation value to set.- Returns:
- the BackupInstancesValidateForRestoreHeaders object itself.
-
location
public String location()
Get the location property: The Location property.- Returns:
- the location value.
-
withLocation
public BackupInstancesValidateForRestoreHeaders withLocation(String location)
Set the location property: The Location property.- Parameters:
location
- the location value to set.- Returns:
- the BackupInstancesValidateForRestoreHeaders object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-