Share via


PolicyCreateOrUpdateHeaders Class

  • java.lang.Object
    • com.microsoft.azure.management.apimanagement.v2019_01_01.PolicyCreateOrUpdateHeaders

public class PolicyCreateOrUpdateHeaders

Defines headers for CreateOrUpdate operation.

Constructor Summary

Constructor Description
PolicyCreateOrUpdateHeaders()

Method Summary

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

Get current entity state version.

PolicyCreateOrUpdateHeaders withETag(String eTag)

Set current entity state version.

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

PolicyCreateOrUpdateHeaders

public PolicyCreateOrUpdateHeaders()

Method Details

eTag

public String eTag()

Get current entity state version. Should be treated as opaque and used to make conditional HTTP requests.

Returns:

the eTag value

withETag

public PolicyCreateOrUpdateHeaders withETag(String eTag)

Set current entity state version. Should be treated as opaque and used to make conditional HTTP requests.

Parameters:

eTag - the eTag value to set

Returns:

the PolicyCreateOrUpdateHeaders object itself.

Applies to