Class TagProperty
- java.lang.Object
-
- com.azure.resourcemanager.storage.models.TagProperty
-
public final class TagProperty extends Object
A tag of the LegalHold of a blob container.
-
-
Constructor Summary
Constructors Constructor Description TagProperty()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringobjectIdentifier()Get the objectIdentifier property: Returns the Object ID of the user who added the tag.Stringtag()Get the tag property: The tag value.StringtenantId()Get the tenantId property: Returns the Tenant ID that issued the token for the user who added the tag.OffsetDateTimetimestamp()Get the timestamp property: Returns the date and time the tag was added.Stringupn()Get the upn property: Returns the User Principal Name of the user who added the tag.voidvalidate()Validates the instance.
-
-
-
Method Detail
-
tag
public String tag()
Get the tag property: The tag value.- Returns:
- the tag value.
-
timestamp
public OffsetDateTime timestamp()
Get the timestamp property: Returns the date and time the tag was added.- Returns:
- the timestamp value.
-
objectIdentifier
public String objectIdentifier()
Get the objectIdentifier property: Returns the Object ID of the user who added the tag.- Returns:
- the objectIdentifier value.
-
tenantId
public String tenantId()
Get the tenantId property: Returns the Tenant ID that issued the token for the user who added the tag.- Returns:
- the tenantId value.
-
upn
public String upn()
Get the upn property: Returns the User Principal Name of the user who added the tag.- Returns:
- the upn value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-