Class OperationResultsGetHeaders
java.lang.Object
com.azure.resourcemanager.mediaservices.models.OperationResultsGetHeaders
The OperationResultsGetHeaders model.
-
Constructor Summary
ConstructorDescriptionOperationResultsGetHeaders
(com.azure.core.http.HttpHeaders rawHeaders) Creates an instance of OperationResultsGetHeaders class. -
Method Summary
Modifier and TypeMethodDescriptionGet the azureAsyncOperation property: The Azure-AsyncOperation property.location()
Get the location property: The Location property.Get the retryAfter property: The Retry-After property.void
validate()
Validates the instance.withAzureAsyncOperation
(String azureAsyncOperation) Set the azureAsyncOperation property: The Azure-AsyncOperation property.withLocation
(String location) Set the location property: The Location property.withRetryAfter
(Integer retryAfter) Set the retryAfter property: The Retry-After property.
-
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
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 OperationResultsGetHeaders object itself.
-
azureAsyncOperation
Get the azureAsyncOperation property: The Azure-AsyncOperation property.- Returns:
- the azureAsyncOperation value.
-
withAzureAsyncOperation
Set the azureAsyncOperation property: The Azure-AsyncOperation property.- Parameters:
azureAsyncOperation
- the azureAsyncOperation value to set.- Returns:
- the OperationResultsGetHeaders 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 OperationResultsGetHeaders object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-