public SetFileModeEntry withFileMode(String fileMode) {
        setFileMode(fileMode);
        return this;
    }
<p>
The file mode for the file.
</p>

@param fileMode
       The file mode for the file.
@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/SetFileModeEntry.java