### 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:
- ""
inheritedClassMethods:
- classRef: ""
methodsRef:
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
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 LastWriterWins mode."
syntax: "public String conflictResolutionPath()"
desc: "Get the conflict resolution path in the case of LastWriterWins mode."
returns:
description: "the conflictResolutionPath value"
type: ""
- 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: ""
- 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: ""
- 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 LastWriterWins mode."
parameters:
- description: "the conflictResolutionPath value to set"
name: "conflictResolutionPath"
type: ""
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: ""
- 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: ""
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: ""
- 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: ""
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: ""
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