CLAIDConfig constructor

CLAIDConfig({
  1. Iterable<HostConfig>? hosts,
  2. String? logSinkHost,
  3. LogMessageSeverityLevel? logSinkSeverityLevel,
  4. LogSinkTransferMode? logSinkTransferMode,
  5. String? logSinkLogStoragePath,
  6. int? millisecondsDeadlineToLoadModules,
})

Implementation

factory CLAIDConfig({
  $core.Iterable<HostConfig>? hosts,
  $core.String? logSinkHost,
  LogMessageSeverityLevel? logSinkSeverityLevel,
  LogSinkTransferMode? logSinkTransferMode,
  $core.String? logSinkLogStoragePath,
  $core.int? millisecondsDeadlineToLoadModules,
}) {
  final $result = create();
  if (hosts != null) {
    $result.hosts.addAll(hosts);
  }
  if (logSinkHost != null) {
    $result.logSinkHost = logSinkHost;
  }
  if (logSinkSeverityLevel != null) {
    $result.logSinkSeverityLevel = logSinkSeverityLevel;
  }
  if (logSinkTransferMode != null) {
    $result.logSinkTransferMode = logSinkTransferMode;
  }
  if (logSinkLogStoragePath != null) {
    $result.logSinkLogStoragePath = logSinkLogStoragePath;
  }
  if (millisecondsDeadlineToLoadModules != null) {
    $result.millisecondsDeadlineToLoadModules = millisecondsDeadlineToLoadModules;
  }
  return $result;
}