public ReplaceContentEntry withFileMode(FileModeTypeEnum fileMode) {
        this.fileMode = fileMode.toString();
        return this;
    }
<p>
The file mode to apply during conflict resoltion.
</p>

@param fileMode
       The file mode to apply during conflict resoltion.
@return Returns a reference to this object so that method calls can be chained together.
@see FileModeTypeEnum
aws-java-sdk-codecommit/src/main/java/com/amazonaws/services/codecommit/model/ReplaceContentEntry.java