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

98 строки
5.9 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.cosmos.models.CosmosConflictProperties"
fullName: "com.azure.cosmos.models.CosmosConflictProperties"
name: "CosmosConflictProperties"
nameWithType: "CosmosConflictProperties"
summary: "The type Cosmos conflict 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 **CosmosConflictProperties**"
methods:
- uid: "com.azure.cosmos.models.CosmosConflictProperties.<T>getItem(java.lang.Class<T>)"
fullName: "com.azure.cosmos.models.CosmosConflictProperties.getItem(Class<T> klass)"
name: "getItem(Class<T> klass)"
nameWithType: "CosmosConflictProperties.getItem(Class<T> klass)"
summary: "Gets the conflicting resource in the Azure Cosmos DB service."
parameters:
- description: "The returned type of conflicting resource."
name: "klass"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html\">Class</a>&lt;<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public T <T>getItem(Class<T> klass)"
desc: "Gets the conflicting resource in the Azure Cosmos DB service."
returns:
description: "The conflicting resource."
type: "<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.cosmos.models.CosmosConflictProperties.getETag()"
fullName: "com.azure.cosmos.models.CosmosConflictProperties.getETag()"
name: "getETag()"
nameWithType: "CosmosConflictProperties.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.CosmosConflictProperties.getId()"
fullName: "com.azure.cosmos.models.CosmosConflictProperties.getId()"
name: "getId()"
nameWithType: "CosmosConflictProperties.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.CosmosConflictProperties.getOperationKind()"
fullName: "com.azure.cosmos.models.CosmosConflictProperties.getOperationKind()"
name: "getOperationKind()"
nameWithType: "CosmosConflictProperties.getOperationKind()"
summary: "Gets the operation kind."
syntax: "public OperationKind getOperationKind()"
desc: "Gets the operation kind."
returns:
description: "the operation kind."
type: "<xref href=\"com.azure.cosmos.implementation.OperationKind?alt=com.azure.cosmos.implementation.OperationKind&text=OperationKind\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.cosmos.models.CosmosConflictProperties.getTimestamp()"
fullName: "com.azure.cosmos.models.CosmosConflictProperties.getTimestamp()"
name: "getTimestamp()"
nameWithType: "CosmosConflictProperties.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.CosmosConflictProperties.setId(java.lang.String)"
fullName: "com.azure.cosmos.models.CosmosConflictProperties.setId(String id)"
name: "setId(String id)"
nameWithType: "CosmosConflictProperties.setId(String id)"
summary: "Sets the name of the resource."
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 CosmosConflictProperties setId(String id)"
desc: "Sets the name of the resource."
returns:
description: "the current instance of <xref uid=\"com.azure.cosmos.models.CosmosConflictProperties\" data-throw-if-not-resolved=\"false\" data-raw-source=\"CosmosConflictProperties\"></xref>."
type: "<xref href=\"com.azure.cosmos.models.CosmosConflictProperties?alt=com.azure.cosmos.models.CosmosConflictProperties&text=CosmosConflictProperties\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The type Cosmos conflict properties."
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.63.3