#[non_exhaustive]pub struct ProfilingStatusBuilder { /* private fields */ }
Expand description
A builder for ProfilingStatus
.
Implementations§
source§impl ProfilingStatusBuilder
impl ProfilingStatusBuilder
sourcepub fn latest_agent_profile_reported_at(self, input: DateTime) -> Self
pub fn latest_agent_profile_reported_at(self, input: DateTime) -> Self
The date and time when the most recent profile was received. Specify 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 set_latest_agent_profile_reported_at(
self,
input: Option<DateTime>
) -> Self
pub fn set_latest_agent_profile_reported_at( self, input: Option<DateTime> ) -> Self
The date and time when the most recent profile was received. Specify 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 get_latest_agent_profile_reported_at(&self) -> &Option<DateTime>
pub fn get_latest_agent_profile_reported_at(&self) -> &Option<DateTime>
The date and time when the most recent profile was received. Specify 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 latest_aggregated_profile(self, input: AggregatedProfileTime) -> Self
pub fn latest_aggregated_profile(self, input: AggregatedProfileTime) -> Self
An AggregatedProfileTime
object that contains the aggregation period and start time for an aggregated profile.
sourcepub fn set_latest_aggregated_profile(
self,
input: Option<AggregatedProfileTime>
) -> Self
pub fn set_latest_aggregated_profile( self, input: Option<AggregatedProfileTime> ) -> Self
An AggregatedProfileTime
object that contains the aggregation period and start time for an aggregated profile.
sourcepub fn get_latest_aggregated_profile(&self) -> &Option<AggregatedProfileTime>
pub fn get_latest_aggregated_profile(&self) -> &Option<AggregatedProfileTime>
An AggregatedProfileTime
object that contains the aggregation period and start time for an aggregated profile.
sourcepub fn latest_agent_orchestrated_at(self, input: DateTime) -> Self
pub fn latest_agent_orchestrated_at(self, input: DateTime) -> Self
The date and time when the profiling agent most recently pinged back. Specify 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 set_latest_agent_orchestrated_at(self, input: Option<DateTime>) -> Self
pub fn set_latest_agent_orchestrated_at(self, input: Option<DateTime>) -> Self
The date and time when the profiling agent most recently pinged back. Specify 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 get_latest_agent_orchestrated_at(&self) -> &Option<DateTime>
pub fn get_latest_agent_orchestrated_at(&self) -> &Option<DateTime>
The date and time when the profiling agent most recently pinged back. Specify 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 build(self) -> ProfilingStatus
pub fn build(self) -> ProfilingStatus
Consumes the builder and constructs a ProfilingStatus
.
Trait Implementations§
source§impl Clone for ProfilingStatusBuilder
impl Clone for ProfilingStatusBuilder
source§fn clone(&self) -> ProfilingStatusBuilder
fn clone(&self) -> ProfilingStatusBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ProfilingStatusBuilder
impl Debug for ProfilingStatusBuilder
source§impl Default for ProfilingStatusBuilder
impl Default for ProfilingStatusBuilder
source§fn default() -> ProfilingStatusBuilder
fn default() -> ProfilingStatusBuilder
source§impl PartialEq for ProfilingStatusBuilder
impl PartialEq for ProfilingStatusBuilder
source§fn eq(&self, other: &ProfilingStatusBuilder) -> bool
fn eq(&self, other: &ProfilingStatusBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.