Class RecommendationsGenerateHeaders

java.lang.Object
com.azure.resourcemanager.advisor.models.RecommendationsGenerateHeaders

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

    • RecommendationsGenerateHeaders

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

    • retryAfter

      public String retryAfter()
      Get the retryAfter property: The Retry-After property.
      Returns:
      the retryAfter value.
    • withRetryAfter

      public RecommendationsGenerateHeaders withRetryAfter(String retryAfter)
      Set the retryAfter property: The Retry-After property.
      Parameters:
      retryAfter - the retryAfter value to set.
      Returns:
      the RecommendationsGenerateHeaders object itself.
    • location

      public String location()
      Get the location property: The Location property.
      Returns:
      the location value.
    • withLocation

      public RecommendationsGenerateHeaders withLocation(String location)
      Set the location property: The Location property.
      Parameters:
      location - the location value to set.
      Returns:
      the RecommendationsGenerateHeaders object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.