#[non_exhaustive]pub struct InfluxDBv2ParametersBuilder { /* private fields */ }
Expand description
A builder for InfluxDBv2Parameters
.
Implementations§
source§impl InfluxDBv2ParametersBuilder
impl InfluxDBv2ParametersBuilder
sourcepub fn flux_log_enabled(self, input: bool) -> Self
pub fn flux_log_enabled(self, input: bool) -> Self
Include option to show detailed logs for Flux queries.
Default: false
sourcepub fn set_flux_log_enabled(self, input: Option<bool>) -> Self
pub fn set_flux_log_enabled(self, input: Option<bool>) -> Self
Include option to show detailed logs for Flux queries.
Default: false
sourcepub fn get_flux_log_enabled(&self) -> &Option<bool>
pub fn get_flux_log_enabled(&self) -> &Option<bool>
Include option to show detailed logs for Flux queries.
Default: false
sourcepub fn log_level(self, input: LogLevel) -> Self
pub fn log_level(self, input: LogLevel) -> Self
Log output level. InfluxDB outputs log entries with severity levels greater than or equal to the level specified.
Default: info
sourcepub fn set_log_level(self, input: Option<LogLevel>) -> Self
pub fn set_log_level(self, input: Option<LogLevel>) -> Self
Log output level. InfluxDB outputs log entries with severity levels greater than or equal to the level specified.
Default: info
sourcepub fn get_log_level(&self) -> &Option<LogLevel>
pub fn get_log_level(&self) -> &Option<LogLevel>
Log output level. InfluxDB outputs log entries with severity levels greater than or equal to the level specified.
Default: info
sourcepub fn no_tasks(self, input: bool) -> Self
pub fn no_tasks(self, input: bool) -> Self
Disable the task scheduler. If problematic tasks prevent InfluxDB from starting, use this option to start InfluxDB without scheduling or executing tasks.
Default: false
sourcepub fn set_no_tasks(self, input: Option<bool>) -> Self
pub fn set_no_tasks(self, input: Option<bool>) -> Self
Disable the task scheduler. If problematic tasks prevent InfluxDB from starting, use this option to start InfluxDB without scheduling or executing tasks.
Default: false
sourcepub fn get_no_tasks(&self) -> &Option<bool>
pub fn get_no_tasks(&self) -> &Option<bool>
Disable the task scheduler. If problematic tasks prevent InfluxDB from starting, use this option to start InfluxDB without scheduling or executing tasks.
Default: false
sourcepub fn query_concurrency(self, input: i32) -> Self
pub fn query_concurrency(self, input: i32) -> Self
Number of queries allowed to execute concurrently. Setting to 0 allows an unlimited number of concurrent queries.
Default: 0
sourcepub fn set_query_concurrency(self, input: Option<i32>) -> Self
pub fn set_query_concurrency(self, input: Option<i32>) -> Self
Number of queries allowed to execute concurrently. Setting to 0 allows an unlimited number of concurrent queries.
Default: 0
sourcepub fn get_query_concurrency(&self) -> &Option<i32>
pub fn get_query_concurrency(&self) -> &Option<i32>
Number of queries allowed to execute concurrently. Setting to 0 allows an unlimited number of concurrent queries.
Default: 0
sourcepub fn query_queue_size(self, input: i32) -> Self
pub fn query_queue_size(self, input: i32) -> Self
Maximum number of queries allowed in execution queue. When queue limit is reached, new queries are rejected. Setting to 0 allows an unlimited number of queries in the queue.
Default: 0
sourcepub fn set_query_queue_size(self, input: Option<i32>) -> Self
pub fn set_query_queue_size(self, input: Option<i32>) -> Self
Maximum number of queries allowed in execution queue. When queue limit is reached, new queries are rejected. Setting to 0 allows an unlimited number of queries in the queue.
Default: 0
sourcepub fn get_query_queue_size(&self) -> &Option<i32>
pub fn get_query_queue_size(&self) -> &Option<i32>
Maximum number of queries allowed in execution queue. When queue limit is reached, new queries are rejected. Setting to 0 allows an unlimited number of queries in the queue.
Default: 0
sourcepub fn tracing_type(self, input: TracingType) -> Self
pub fn tracing_type(self, input: TracingType) -> Self
Enable tracing in InfluxDB and specifies the tracing type. Tracing is disabled by default.
sourcepub fn set_tracing_type(self, input: Option<TracingType>) -> Self
pub fn set_tracing_type(self, input: Option<TracingType>) -> Self
Enable tracing in InfluxDB and specifies the tracing type. Tracing is disabled by default.
sourcepub fn get_tracing_type(&self) -> &Option<TracingType>
pub fn get_tracing_type(&self) -> &Option<TracingType>
Enable tracing in InfluxDB and specifies the tracing type. Tracing is disabled by default.
sourcepub fn metrics_disabled(self, input: bool) -> Self
pub fn metrics_disabled(self, input: bool) -> Self
Disable the HTTP /metrics endpoint which exposes internal InfluxDB metrics.
Default: false
sourcepub fn set_metrics_disabled(self, input: Option<bool>) -> Self
pub fn set_metrics_disabled(self, input: Option<bool>) -> Self
Disable the HTTP /metrics endpoint which exposes internal InfluxDB metrics.
Default: false
sourcepub fn get_metrics_disabled(&self) -> &Option<bool>
pub fn get_metrics_disabled(&self) -> &Option<bool>
Disable the HTTP /metrics endpoint which exposes internal InfluxDB metrics.
Default: false
sourcepub fn build(self) -> InfluxDBv2Parameters
pub fn build(self) -> InfluxDBv2Parameters
Consumes the builder and constructs a InfluxDBv2Parameters
.
Trait Implementations§
source§impl Clone for InfluxDBv2ParametersBuilder
impl Clone for InfluxDBv2ParametersBuilder
source§fn clone(&self) -> InfluxDBv2ParametersBuilder
fn clone(&self) -> InfluxDBv2ParametersBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InfluxDBv2ParametersBuilder
impl Debug for InfluxDBv2ParametersBuilder
source§impl Default for InfluxDBv2ParametersBuilder
impl Default for InfluxDBv2ParametersBuilder
source§fn default() -> InfluxDBv2ParametersBuilder
fn default() -> InfluxDBv2ParametersBuilder
source§impl PartialEq for InfluxDBv2ParametersBuilder
impl PartialEq for InfluxDBv2ParametersBuilder
source§fn eq(&self, other: &InfluxDBv2ParametersBuilder) -> bool
fn eq(&self, other: &InfluxDBv2ParametersBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.