Class Etag
java.lang.Object
com.azure.resourcemanager.security.models.Etag
Entity tag is used for comparing two or more entities from the same requested resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionetag()
Get the etag property: Entity tag is used for comparing two or more entities from the same requested resource.void
validate()
Validates the instance.Set the etag property: Entity tag is used for comparing two or more entities from the same requested resource.
-
Constructor Details
-
Etag
public Etag()
-
-
Method Details
-
etag
Get the etag property: Entity tag is used for comparing two or more entities from the same requested resource.- Returns:
- the etag value.
-
withEtag
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.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-