azure-docs-sdk-java/docs-ref-autogen/com.azure.cosmos.models.Cos...

82 строки
4.6 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.cosmos.models.CosmosUserProperties"
fullName: "com.azure.cosmos.models.CosmosUserProperties"
name: "CosmosUserProperties"
nameWithType: "CosmosUserProperties"
summary: "The Cosmos user properties."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **CosmosUserProperties**"
constructors:
- uid: "com.azure.cosmos.models.CosmosUserProperties.CosmosUserProperties()"
fullName: "com.azure.cosmos.models.CosmosUserProperties.CosmosUserProperties()"
name: "CosmosUserProperties()"
nameWithType: "CosmosUserProperties.CosmosUserProperties()"
summary: "Initialize a user object."
syntax: "public CosmosUserProperties()"
desc: "Initialize a user object."
methods:
- uid: "com.azure.cosmos.models.CosmosUserProperties.getETag()"
fullName: "com.azure.cosmos.models.CosmosUserProperties.getETag()"
name: "getETag()"
nameWithType: "CosmosUserProperties.getETag()"
summary: "Get the entity tag associated with the resource."
syntax: "public String getETag()"
desc: "Get the entity tag associated with the resource. This is only relevant when getting response from the server."
returns:
description: "the e tag."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.cosmos.models.CosmosUserProperties.getId()"
fullName: "com.azure.cosmos.models.CosmosUserProperties.getId()"
name: "getId()"
nameWithType: "CosmosUserProperties.getId()"
summary: "Gets the name of the resource."
syntax: "public String getId()"
desc: "Gets the name of the resource."
returns:
description: "the name of the resource."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.cosmos.models.CosmosUserProperties.getTimestamp()"
fullName: "com.azure.cosmos.models.CosmosUserProperties.getTimestamp()"
name: "getTimestamp()"
nameWithType: "CosmosUserProperties.getTimestamp()"
summary: "Get the last modified timestamp associated with the resource."
syntax: "public Instant getTimestamp()"
desc: "Get the last modified timestamp associated with the resource. This is only relevant when getting response from the server."
returns:
description: "the timestamp."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Instant.html\">Instant</a>"
- uid: "com.azure.cosmos.models.CosmosUserProperties.setId(java.lang.String)"
fullName: "com.azure.cosmos.models.CosmosUserProperties.setId(String id)"
name: "setId(String id)"
nameWithType: "CosmosUserProperties.setId(String id)"
summary: "Sets the id"
parameters:
- description: "the name of the resource."
name: "id"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public CosmosUserProperties setId(String id)"
desc: "Sets the id"
returns:
description: "the current instance of cosmos user properties"
type: "<xref href=\"com.azure.cosmos.models.CosmosUserProperties?alt=com.azure.cosmos.models.CosmosUserProperties&text=CosmosUserProperties\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The Cosmos user properties."
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.63.3