CertificateGetHeaders Class

  • java.lang.Object
    • com.microsoft.azure.management.batch.CertificateGetHeaders

public class CertificateGetHeaders

Defines headers for Get operation.

Constructor Summary

Constructor Description
CertificateGetHeaders()

Method Summary

Modifier and Type Method and Description
java.lang.String eTag()

Get the ETag HTTP response header.

CertificateGetHeaders withETag(String eTag)

Set the ETag HTTP response header.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

CertificateGetHeaders

public CertificateGetHeaders()

Method Details

eTag

public 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

withETag

public CertificateGetHeaders withETag(String 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.

Parameters:

eTag - the eTag value to set

Returns:

the CertificateGetHeaders object itself.

Applies to