#[non_exhaustive]pub struct AgentConfigurationStatusBuilder { /* private fields */ }Expand description
A builder for AgentConfigurationStatus.
Implementations§
source§impl AgentConfigurationStatusBuilder
impl AgentConfigurationStatusBuilder
sourcepub fn set_agent_id(self, input: Option<String>) -> Self
pub fn set_agent_id(self, input: Option<String>) -> Self
The agent ID.
sourcepub fn get_agent_id(&self) -> &Option<String>
pub fn get_agent_id(&self) -> &Option<String>
The agent ID.
sourcepub fn operation_succeeded(self, input: bool) -> Self
pub fn operation_succeeded(self, input: bool) -> Self
Information about the status of the StartDataCollection and StopDataCollection operations. The system has recorded the data collection operation. The agent receives this command the next time it polls for a new command.
sourcepub fn set_operation_succeeded(self, input: Option<bool>) -> Self
pub fn set_operation_succeeded(self, input: Option<bool>) -> Self
Information about the status of the StartDataCollection and StopDataCollection operations. The system has recorded the data collection operation. The agent receives this command the next time it polls for a new command.
sourcepub fn get_operation_succeeded(&self) -> &Option<bool>
pub fn get_operation_succeeded(&self) -> &Option<bool>
Information about the status of the StartDataCollection and StopDataCollection operations. The system has recorded the data collection operation. The agent receives this command the next time it polls for a new command.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the operation performed.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the operation performed.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of the operation performed.
sourcepub fn build(self) -> AgentConfigurationStatus
pub fn build(self) -> AgentConfigurationStatus
Consumes the builder and constructs a AgentConfigurationStatus.
Trait Implementations§
source§impl Clone for AgentConfigurationStatusBuilder
impl Clone for AgentConfigurationStatusBuilder
source§fn clone(&self) -> AgentConfigurationStatusBuilder
fn clone(&self) -> AgentConfigurationStatusBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for AgentConfigurationStatusBuilder
impl Default for AgentConfigurationStatusBuilder
source§fn default() -> AgentConfigurationStatusBuilder
fn default() -> AgentConfigurationStatusBuilder
source§impl PartialEq for AgentConfigurationStatusBuilder
impl PartialEq for AgentConfigurationStatusBuilder
source§fn eq(&self, other: &AgentConfigurationStatusBuilder) -> bool
fn eq(&self, other: &AgentConfigurationStatusBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AgentConfigurationStatusBuilder
Auto Trait Implementations§
impl Freeze for AgentConfigurationStatusBuilder
impl RefUnwindSafe for AgentConfigurationStatusBuilder
impl Send for AgentConfigurationStatusBuilder
impl Sync for AgentConfigurationStatusBuilder
impl Unpin for AgentConfigurationStatusBuilder
impl UnwindSafe for AgentConfigurationStatusBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more