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.batch;
import com.fasterxml.jackson.annotation.JsonProperty;
Defines headers for Delete operation.
/**
* Defines headers for Delete operation.
*/
public class PoolDeleteHeaders {
The URL of the resource used to check the status of the asynchronous
operation.
/**
* The URL of the resource used to check the status of the asynchronous
* operation.
*/
@JsonProperty(value = "Location")
private String location;
Suggested delay to check the status of the asynchronous operation. The
value is an integer that represents the seconds.
/**
* Suggested delay to check the status of the asynchronous operation. The
* value is an integer that represents the seconds.
*/
@JsonProperty(value = "Retry-After")
private Integer retryAfter;
Get the URL of the resource used to check the status of the asynchronous operation.
Returns: the location value
/**
* Get the URL of the resource used to check the status of the asynchronous operation.
*
* @return the location value
*/
public String location() {
return this.location;
}
Set the URL of the resource used to check the status of the asynchronous operation.
Params: - location – the location value to set
Returns: the PoolDeleteHeaders object itself.
/**
* Set the URL of the resource used to check the status of the asynchronous operation.
*
* @param location the location value to set
* @return the PoolDeleteHeaders object itself.
*/
public PoolDeleteHeaders withLocation(String location) {
this.location = location;
return this;
}
Get suggested delay to check the status of the asynchronous operation. The value is an integer that represents the seconds.
Returns: the retryAfter value
/**
* Get suggested delay to check the status of the asynchronous operation. The value is an integer that represents the seconds.
*
* @return the retryAfter value
*/
public Integer retryAfter() {
return this.retryAfter;
}
Set suggested delay to check the status of the asynchronous operation. The value is an integer that represents the seconds.
Params: - retryAfter – the retryAfter value to set
Returns: the PoolDeleteHeaders object itself.
/**
* Set suggested delay to check the status of the asynchronous operation. The value is an integer that represents the seconds.
*
* @param retryAfter the retryAfter value to set
* @return the PoolDeleteHeaders object itself.
*/
public PoolDeleteHeaders withRetryAfter(Integer retryAfter) {
this.retryAfter = retryAfter;
return this;
}
}