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.storage; import com.fasterxml.jackson.annotation.JsonProperty;
Defines headers for GetImmutabilityPolicy operation.
/** * Defines headers for GetImmutabilityPolicy operation. */
public class BlobContainersGetImmutabilityPolicyHeaders {
The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.
/** * The ETag HTTP response header. This is an opaque string. You can use it * to detect whether the resource has changed between requests. In * particular, you can pass the ETag to one of the If-Match or * If-None-Match headers. */
@JsonProperty(value = "ETag") private String eTag;
Get the ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.
Returns:the eTag value
/** * Get the ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers. * * @return the eTag value */
public String eTag() { return this.eTag; }
Set the ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.
Params:
  • eTag – the eTag value to set
Returns:the BlobContainersGetImmutabilityPolicyHeaders object itself.
/** * Set the ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers. * * @param eTag the eTag value to set * @return the BlobContainersGetImmutabilityPolicyHeaders object itself. */
public BlobContainersGetImmutabilityPolicyHeaders withETag(String eTag) { this.eTag = eTag; return this; } }