this.cumulocityLogin = credentials.getLogin();
}
public PlatformParameters(String host, CumulocityCredentials credentials, ClientConfiguration clientConfiguration, int pageSize) {
setMandatoryFields(host, credentials);
PersistentProvider persistentProvider = clientConfiguration.getPersistentProvider();
bufferRequestService = new BufferRequestService(persistentProvider);
bufferProcessor = new BufferProcessor(persistentProvider, bufferRequestService, createRestConnector());
bufferProcessor.startProcessing();
this.pageSize = pageSize;
}