public CifsConnectionBuilder(String type, ConnectionOptions options, AddressPortMapper mapper) {
CifsConnectionType cifsConnectionType = options.getEnum(CONNECTION_TYPE, CifsConnectionType.class);
switch (cifsConnectionType) {
case TELNET:
connection = new CifsTelnetConnection(type, options, mapper);
break;
case WINRM_INTERNAL:
connection = new CifsWinRmConnection(type, options, mapper);
break;
case WINRM_NATIVE: