Package com.azure.cosmos.models
Class CosmosUserProperties
java.lang.Object
com.azure.cosmos.models.CosmosUserProperties
The Cosmos user properties.
-
Constructor Details
-
CosmosUserProperties
public CosmosUserProperties()Initialize a user object.
-
-
Method Details
-
setId
Sets the id- Parameters:
id
- the name of the resource.- Returns:
- the current instance of cosmos user properties
-
getId
Gets the name of the resource.- Returns:
- the name of the resource.
-
getTimestamp
Get the last modified timestamp associated with the resource. This is only relevant when getting response from the server.- Returns:
- the timestamp.
-
getETag
Get the entity tag associated with the resource. This is only relevant when getting response from the server.- Returns:
- the e tag.
-