Class ExtendedResourceProperties
- java.lang.Object
-
- com.microsoft.azure.management.cosmosdb.ExtendedResourceProperties
-
public class ExtendedResourceProperties extends Object
The system generated resource properties associated with SQL databases and SQL containers.
-
-
Constructor Summary
Constructors Constructor Description ExtendedResourceProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringetag()Get a system generated property representing the resource etag required for optimistic concurrency control.Stringrid()Get a system generated property.Objectts()Get a system generated property that denotes the last updated timestamp of the resource.ExtendedResourcePropertieswithEtag(String etag)Set a system generated property representing the resource etag required for optimistic concurrency control.ExtendedResourcePropertieswithRid(String rid)Set a system generated property.ExtendedResourcePropertieswithTs(Object ts)Set a system generated property that denotes the last updated timestamp of the resource.
-
-
-
Method Detail
-
rid
public String rid()
Get a system generated property. A unique identifier.- Returns:
- the rid value
-
withRid
public ExtendedResourceProperties withRid(String rid)
Set a system generated property. A unique identifier.- Parameters:
rid- the rid value to set- Returns:
- the ExtendedResourceProperties object itself.
-
ts
public Object ts()
Get a system generated property that denotes the last updated timestamp of the resource.- Returns:
- the ts value
-
withTs
public ExtendedResourceProperties withTs(Object ts)
Set a system generated property that denotes the last updated timestamp of the resource.- Parameters:
ts- the ts value to set- Returns:
- the ExtendedResourceProperties object itself.
-
etag
public String etag()
Get a system generated property representing the resource etag required for optimistic concurrency control.- Returns:
- the etag value
-
withEtag
public ExtendedResourceProperties withEtag(String etag)
Set a system generated property representing the resource etag required for optimistic concurrency control.- Parameters:
etag- the etag value to set- Returns:
- the ExtendedResourceProperties object itself.
-
-