Struct aws_sdk_applicationdiscovery::model::agent_info::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }Expand description
A builder for AgentInfo
Implementations
sourceimpl Builder
impl Builder
sourcepub fn set_agent_id(self, input: Option<String>) -> Self
pub fn set_agent_id(self, input: Option<String>) -> Self
The agent or connector ID.
sourcepub fn host_name(self, input: impl Into<String>) -> Self
pub fn host_name(self, input: impl Into<String>) -> Self
The name of the host where the agent or connector resides. The host can be a server or virtual machine.
sourcepub fn set_host_name(self, input: Option<String>) -> Self
pub fn set_host_name(self, input: Option<String>) -> Self
The name of the host where the agent or connector resides. The host can be a server or virtual machine.
sourcepub fn agent_network_info_list(self, input: AgentNetworkInfo) -> Self
pub fn agent_network_info_list(self, input: AgentNetworkInfo) -> Self
Appends an item to agent_network_info_list.
To override the contents of this collection use set_agent_network_info_list.
Network details about the host where the agent or connector resides.
sourcepub fn set_agent_network_info_list(
self,
input: Option<Vec<AgentNetworkInfo>>
) -> Self
pub fn set_agent_network_info_list(
self,
input: Option<Vec<AgentNetworkInfo>>
) -> Self
Network details about the host where the agent or connector resides.
sourcepub fn connector_id(self, input: impl Into<String>) -> Self
pub fn connector_id(self, input: impl Into<String>) -> Self
The ID of the connector.
sourcepub fn set_connector_id(self, input: Option<String>) -> Self
pub fn set_connector_id(self, input: Option<String>) -> Self
The ID of the connector.
sourcepub fn set_version(self, input: Option<String>) -> Self
pub fn set_version(self, input: Option<String>) -> Self
The agent or connector version.
sourcepub fn health(self, input: AgentStatus) -> Self
pub fn health(self, input: AgentStatus) -> Self
The health of the agent or connector.
sourcepub fn set_health(self, input: Option<AgentStatus>) -> Self
pub fn set_health(self, input: Option<AgentStatus>) -> Self
The health of the agent or connector.
sourcepub fn last_health_ping_time(self, input: impl Into<String>) -> Self
pub fn last_health_ping_time(self, input: impl Into<String>) -> Self
Time since agent or connector health was reported.
sourcepub fn set_last_health_ping_time(self, input: Option<String>) -> Self
pub fn set_last_health_ping_time(self, input: Option<String>) -> Self
Time since agent or connector health was reported.
sourcepub fn collection_status(self, input: impl Into<String>) -> Self
pub fn collection_status(self, input: impl Into<String>) -> Self
Status of the collection process for an agent or connector.
sourcepub fn set_collection_status(self, input: Option<String>) -> Self
pub fn set_collection_status(self, input: Option<String>) -> Self
Status of the collection process for an agent or connector.
sourcepub fn agent_type(self, input: impl Into<String>) -> Self
pub fn agent_type(self, input: impl Into<String>) -> Self
Type of agent.
sourcepub fn set_agent_type(self, input: Option<String>) -> Self
pub fn set_agent_type(self, input: Option<String>) -> Self
Type of agent.
sourcepub fn registered_time(self, input: impl Into<String>) -> Self
pub fn registered_time(self, input: impl Into<String>) -> Self
Agent's first registration timestamp in UTC.
sourcepub fn set_registered_time(self, input: Option<String>) -> Self
pub fn set_registered_time(self, input: Option<String>) -> Self
Agent's first registration timestamp in UTC.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more