Class RecommendationsGenerateHeaders
java.lang.Object
com.azure.resourcemanager.advisor.models.RecommendationsGenerateHeaders
The RecommendationsGenerateHeaders model.
-
Constructor Summary
ConstructorDescriptionRecommendationsGenerateHeaders
(com.azure.core.http.HttpHeaders rawHeaders) Creates an instance of RecommendationsGenerateHeaders class. -
Method Summary
Modifier and TypeMethodDescriptionlocation()
Get the location property: The Location property.Get the retryAfter property: The Retry-After property.void
validate()
Validates the instance.withLocation
(String location) Set the location property: The Location property.withRetryAfter
(String retryAfter) Set the retryAfter property: The Retry-After property.
-
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
Get the retryAfter property: The Retry-After property.- Returns:
- the retryAfter value.
-
withRetryAfter
Set the retryAfter property: The Retry-After property.- Parameters:
retryAfter
- the retryAfter value to set.- Returns:
- the RecommendationsGenerateHeaders object itself.
-
location
Get the location property: The Location property.- Returns:
- the location value.
-
withLocation
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.
-