Class OperationResultsGetHeaders

java.lang.Object
com.azure.resourcemanager.dataprotection.models.OperationResultsGetHeaders

public final class OperationResultsGetHeaders extends Object
The OperationResultsGetHeaders model.
  • Constructor Details

    • OperationResultsGetHeaders

      public OperationResultsGetHeaders(com.azure.core.http.HttpHeaders rawHeaders)
      Creates an instance of OperationResultsGetHeaders class.
      Parameters:
      rawHeaders - The raw HttpHeaders that will be used to create the property values.
  • Method Details

    • 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.