Etag Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.Etag

public class Etag

Entity tag is used for comparing two or more entities from the same requested resource.

Constructor Summary

Constructor Description
Etag()

Creates an instance of Etag class.

Method Summary

Modifier and Type Method and Description
String etag()

Get the etag property: Entity tag is used for comparing two or more entities from the same requested resource.

void validate()

Validates the instance.

Etag withEtag(String etag)

Set the etag property: Entity tag is used for comparing two or more entities from the same requested resource.

Methods inherited from java.lang.Object

Constructor Details

Etag

public Etag()

Creates an instance of Etag class.

Method Details

etag

public String etag()

Get the etag property: Entity tag is used for comparing two or more entities from the same requested resource.

Returns:

the etag value.

validate

public void validate()

Validates the instance.

withEtag

public Etag withEtag(String etag)

Set the etag property: Entity tag is used for comparing two or more entities from the same requested resource.

Parameters:

etag - the etag value to set.

Returns:

the Etag object itself.

Applies to