pub struct Builder { /* private fields */ }
Expand description
A builder for TimeBasedCollectionScheme
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn period_ms(self, input: i64) -> Self
pub fn period_ms(self, input: i64) -> Self
The time period (in milliseconds) to decide how often to collect data. For example, if the time period is 60000
, the Edge Agent software collects data once every minute.
sourcepub fn set_period_ms(self, input: Option<i64>) -> Self
pub fn set_period_ms(self, input: Option<i64>) -> Self
The time period (in milliseconds) to decide how often to collect data. For example, if the time period is 60000
, the Edge Agent software collects data once every minute.
sourcepub fn build(self) -> TimeBasedCollectionScheme
pub fn build(self) -> TimeBasedCollectionScheme
Consumes the builder and constructs a TimeBasedCollectionScheme
.