public SyncConfig withConflictDetection(ConflictDetectionType conflictDetection) {
        this.conflictDetection = conflictDetection.toString();
        return this;
    }
<p>
The Conflict Detection strategy to use.
</p>
<ul>
<li>
<p>
<b>VERSION</b>: Detect conflicts based on object versions for this resolver.
</p>
</li>
<li>
<p>
<b>NONE</b>: Do not detect conflicts when invoking this resolver.
</p>
</li>
</ul>

@param conflictDetection
       The Conflict Detection strategy to use.</p>
       <ul>
       <li>
       <p>
       <b>VERSION</b>: Detect conflicts based on object versions for this resolver.
       </p>
       </li>
       <li>
       <p>
       <b>NONE</b>: Do not detect conflicts when invoking this resolver.
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
@see ConflictDetectionType
aws-java-sdk-appsync/src/main/java/com/amazonaws/services/appsync/model/SyncConfig.java