PoolCreateHeaders Class

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

public class PoolCreateHeaders

Defines headers for Create operation.

Method Summary

Modifier and Type Method and Description
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.

PoolCreateHeaders 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.

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 PoolCreateHeaders 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 PoolCreateHeaders object itself.

Applies to