#[non_exhaustive]pub struct AggregatedProfileTime { /* private fields */ }
Expand description
Specifies the aggregation period and aggregation start time for an aggregated profile. An aggregated profile is used to collect posted agent profiles during an aggregation period. There are three possible aggregation periods (1 day, 1 hour, or 5 minutes).
Implementations§
source§impl AggregatedProfileTime
impl AggregatedProfileTime
sourcepub fn start(&self) -> Option<&DateTime>
pub fn start(&self) -> Option<&DateTime>
The time that aggregation of posted agent profiles for a profiling group starts. The aggregation profile contains profiles posted by the agent starting at this time for an aggregation period specified by the period
property of the AggregatedProfileTime
object.
Specify start
using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
sourcepub fn period(&self) -> Option<&AggregationPeriod>
pub fn period(&self) -> Option<&AggregationPeriod>
The aggregation period. This indicates the period during which an aggregation profile collects posted agent profiles for a profiling group. Use one of three valid durations that are specified using the ISO 8601 format.
-
P1D
— 1 day -
PT1H
— 1 hour -
PT5M
— 5 minutes
source§impl AggregatedProfileTime
impl AggregatedProfileTime
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AggregatedProfileTime
.
Trait Implementations§
source§impl Clone for AggregatedProfileTime
impl Clone for AggregatedProfileTime
source§fn clone(&self) -> AggregatedProfileTime
fn clone(&self) -> AggregatedProfileTime
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AggregatedProfileTime
impl Debug for AggregatedProfileTime
source§impl PartialEq<AggregatedProfileTime> for AggregatedProfileTime
impl PartialEq<AggregatedProfileTime> for AggregatedProfileTime
source§fn eq(&self, other: &AggregatedProfileTime) -> bool
fn eq(&self, other: &AggregatedProfileTime) -> bool
self
and other
values to be equal, and is used
by ==
.