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 Get operation.
/** * Defines headers for Get operation. */
public class CertificateGetHeaders {
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 CertificateGetHeaders 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 CertificateGetHeaders object itself. */
public CertificateGetHeaders withETag(String eTag) { this.eTag = eTag; return this; } }