Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.resources;
import com.fasterxml.jackson.annotation.JsonProperty;
Defines headers for WhatIfAtSubscriptionScope operation.
/**
* Defines headers for WhatIfAtSubscriptionScope operation.
*/
public class DeploymentsWhatIfAtSubscriptionScopeHeaders {
URL to get status of this long-running operation.
/**
* URL to get status of this long-running operation.
*/
@JsonProperty(value = "Location")
private String location;
Number of seconds to wait before polling for status.
/**
* Number of seconds to wait before polling for status.
*/
@JsonProperty(value = "Retry-After")
private String retryAfter;
Get uRL to get status of this long-running operation.
Returns: the location value
/**
* Get uRL to get status of this long-running operation.
*
* @return the location value
*/
public String location() {
return this.location;
}
Set uRL to get status of this long-running operation.
Params: - location – the location value to set
Returns: the DeploymentsWhatIfAtSubscriptionScopeHeaders object itself.
/**
* Set uRL to get status of this long-running operation.
*
* @param location the location value to set
* @return the DeploymentsWhatIfAtSubscriptionScopeHeaders object itself.
*/
public DeploymentsWhatIfAtSubscriptionScopeHeaders withLocation(String location) {
this.location = location;
return this;
}
Get number of seconds to wait before polling for status.
Returns: the retryAfter value
/**
* Get number of seconds to wait before polling for status.
*
* @return the retryAfter value
*/
public String retryAfter() {
return this.retryAfter;
}
Set number of seconds to wait before polling for status.
Params: - retryAfter – the retryAfter value to set
Returns: the DeploymentsWhatIfAtSubscriptionScopeHeaders object itself.
/**
* Set number of seconds to wait before polling for status.
*
* @param retryAfter the retryAfter value to set
* @return the DeploymentsWhatIfAtSubscriptionScopeHeaders object itself.
*/
public DeploymentsWhatIfAtSubscriptionScopeHeaders withRetryAfter(String retryAfter) {
this.retryAfter = retryAfter;
return this;
}
}