Struct aws_sdk_applicationdiscovery::model::agent_info::Builder
source · [−]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.