Class OperationResultsGetHeaders
- java.lang.Object
-
- com.azure.resourcemanager.dataprotection.models.OperationResultsGetHeaders
-
public final class OperationResultsGetHeaders extends Object
The OperationResultsGetHeaders model.
-
-
Constructor Summary
Constructors Constructor Description OperationResultsGetHeaders()
-
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.OperationResultsGetHeaders
withAzureAsyncOperation(String azureAsyncOperation)
Set the azureAsyncOperation property: The Azure-AsyncOperation property.OperationResultsGetHeaders
withLocation(String location)
Set the location property: The Location property.OperationResultsGetHeaders
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 OperationResultsGetHeaders withRetryAfter(Integer retryAfter)
Set the retryAfter property: The Retry-After property.- Parameters:
retryAfter
- the retryAfter value to set.- Returns:
- the OperationResultsGetHeaders object itself.
-
azureAsyncOperation
public String azureAsyncOperation()
Get the azureAsyncOperation property: The Azure-AsyncOperation property.- Returns:
- the azureAsyncOperation value.
-
withAzureAsyncOperation
public OperationResultsGetHeaders withAzureAsyncOperation(String azureAsyncOperation)
Set the azureAsyncOperation property: The Azure-AsyncOperation property.- Parameters:
azureAsyncOperation
- the azureAsyncOperation value to set.- Returns:
- the OperationResultsGetHeaders object itself.
-
location
public String location()
Get the location property: The Location property.- Returns:
- the location value.
-
withLocation
public OperationResultsGetHeaders withLocation(String location)
Set the location property: The Location property.- Parameters:
location
- the location value to set.- Returns:
- the OperationResultsGetHeaders object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-