azure-docs-sdk-java/legacy/docs-ref-autogen/com.microsoft.azure.managem...

108 строки
8.3 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.cosmosdb.ConflictResolutionPolicy"
fullName: "com.microsoft.azure.management.cosmosdb.ConflictResolutionPolicy"
name: "ConflictResolutionPolicy"
nameWithType: "ConflictResolutionPolicy"
summary: "The conflict resolution policy for the container."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"java.lang.Object?alt=java.lang.Object&text=Object\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"java.lang.Object.clone()?alt=java.lang.Object.clone&text=clone\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.equals(java.lang.Object)?alt=java.lang.Object.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.finalize()?alt=java.lang.Object.finalize&text=finalize\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.getClass()?alt=java.lang.Object.getClass&text=getClass\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.hashCode()?alt=java.lang.Object.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notify()?alt=java.lang.Object.notify&text=notify\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notifyAll()?alt=java.lang.Object.notifyAll&text=notifyAll\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.toString()?alt=java.lang.Object.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait()?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long,int)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
syntax: "public class **ConflictResolutionPolicy**"
constructors:
- uid: "com.microsoft.azure.management.cosmosdb.ConflictResolutionPolicy.ConflictResolutionPolicy()"
fullName: "com.microsoft.azure.management.cosmosdb.ConflictResolutionPolicy.ConflictResolutionPolicy()"
name: "ConflictResolutionPolicy()"
nameWithType: "ConflictResolutionPolicy.ConflictResolutionPolicy()"
syntax: "public ConflictResolutionPolicy()"
methods:
- uid: "com.microsoft.azure.management.cosmosdb.ConflictResolutionPolicy.conflictResolutionPath()"
fullName: "com.microsoft.azure.management.cosmosdb.ConflictResolutionPolicy.conflictResolutionPath()"
name: "conflictResolutionPath()"
nameWithType: "ConflictResolutionPolicy.conflictResolutionPath()"
summary: "Get the conflict resolution path in the case of Last<wbr>Writer<wbr>Wins mode."
syntax: "public String conflictResolutionPath()"
desc: "Get the conflict resolution path in the case of LastWriterWins mode."
returns:
description: "the conflictResolutionPath value"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.cosmosdb.ConflictResolutionPolicy.conflictResolutionProcedure()"
fullName: "com.microsoft.azure.management.cosmosdb.ConflictResolutionPolicy.conflictResolutionProcedure()"
name: "conflictResolutionProcedure()"
nameWithType: "ConflictResolutionPolicy.conflictResolutionProcedure()"
summary: "Get the procedure to resolve conflicts in the case of custom mode."
syntax: "public String conflictResolutionProcedure()"
desc: "Get the procedure to resolve conflicts in the case of custom mode."
returns:
description: "the conflictResolutionProcedure value"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.cosmosdb.ConflictResolutionPolicy.mode()"
fullName: "com.microsoft.azure.management.cosmosdb.ConflictResolutionPolicy.mode()"
name: "mode()"
nameWithType: "ConflictResolutionPolicy.mode()"
summary: "Get indicates the conflict resolution mode."
syntax: "public ConflictResolutionMode mode()"
desc: "Get indicates the conflict resolution mode. Possible values include: 'LastWriterWins', 'Custom'."
returns:
description: "the mode value"
type: "<xref href=\"com.microsoft.azure.management.cosmosdb.ConflictResolutionMode?alt=com.microsoft.azure.management.cosmosdb.ConflictResolutionMode&text=ConflictResolutionMode\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.cosmosdb.ConflictResolutionPolicy.withConflictResolutionPath(java.lang.String)"
fullName: "com.microsoft.azure.management.cosmosdb.ConflictResolutionPolicy.withConflictResolutionPath(String conflictResolutionPath)"
name: "withConflictResolutionPath(String conflictResolutionPath)"
nameWithType: "ConflictResolutionPolicy.withConflictResolutionPath(String conflictResolutionPath)"
summary: "Set the conflict resolution path in the case of Last<wbr>Writer<wbr>Wins mode."
parameters:
- description: "the conflictResolutionPath value to set"
name: "conflictResolutionPath"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ConflictResolutionPolicy withConflictResolutionPath(String conflictResolutionPath)"
desc: "Set the conflict resolution path in the case of LastWriterWins mode."
returns:
description: "the ConflictResolutionPolicy object itself."
type: "<xref href=\"com.microsoft.azure.management.cosmosdb.ConflictResolutionPolicy?alt=com.microsoft.azure.management.cosmosdb.ConflictResolutionPolicy&text=ConflictResolutionPolicy\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.cosmosdb.ConflictResolutionPolicy.withConflictResolutionProcedure(java.lang.String)"
fullName: "com.microsoft.azure.management.cosmosdb.ConflictResolutionPolicy.withConflictResolutionProcedure(String conflictResolutionProcedure)"
name: "withConflictResolutionProcedure(String conflictResolutionProcedure)"
nameWithType: "ConflictResolutionPolicy.withConflictResolutionProcedure(String conflictResolutionProcedure)"
summary: "Set the procedure to resolve conflicts in the case of custom mode."
parameters:
- description: "the conflictResolutionProcedure value to set"
name: "conflictResolutionProcedure"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ConflictResolutionPolicy withConflictResolutionProcedure(String conflictResolutionProcedure)"
desc: "Set the procedure to resolve conflicts in the case of custom mode."
returns:
description: "the ConflictResolutionPolicy object itself."
type: "<xref href=\"com.microsoft.azure.management.cosmosdb.ConflictResolutionPolicy?alt=com.microsoft.azure.management.cosmosdb.ConflictResolutionPolicy&text=ConflictResolutionPolicy\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.cosmosdb.ConflictResolutionPolicy.withMode(com.microsoft.azure.management.cosmosdb.ConflictResolutionMode)"
fullName: "com.microsoft.azure.management.cosmosdb.ConflictResolutionPolicy.withMode(ConflictResolutionMode mode)"
name: "withMode(ConflictResolutionMode mode)"
nameWithType: "ConflictResolutionPolicy.withMode(ConflictResolutionMode mode)"
summary: "Set indicates the conflict resolution mode."
parameters:
- description: "the mode value to set"
name: "mode"
type: "<xref href=\"com.microsoft.azure.management.cosmosdb.ConflictResolutionMode?alt=com.microsoft.azure.management.cosmosdb.ConflictResolutionMode&text=ConflictResolutionMode\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ConflictResolutionPolicy withMode(ConflictResolutionMode mode)"
desc: "Set indicates the conflict resolution mode. Possible values include: 'LastWriterWins', 'Custom'."
returns:
description: "the ConflictResolutionPolicy object itself."
type: "<xref href=\"com.microsoft.azure.management.cosmosdb.ConflictResolutionPolicy?alt=com.microsoft.azure.management.cosmosdb.ConflictResolutionPolicy&text=ConflictResolutionPolicy\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The conflict resolution policy for the container."
metadata: {}
package: "com.microsoft.azure.management.cosmosdb"
artifact: com.microsoft.azure:azure-mgmt-cosmosdb:1.41.4