Struct aws_sdk_applicationdiscovery::operation::describe_agents::builders::DescribeAgentsOutputBuilder
source · #[non_exhaustive]pub struct DescribeAgentsOutputBuilder { /* private fields */ }Expand description
A builder for DescribeAgentsOutput.
Implementations§
source§impl DescribeAgentsOutputBuilder
impl DescribeAgentsOutputBuilder
sourcepub fn agents_info(self, input: AgentInfo) -> Self
pub fn agents_info(self, input: AgentInfo) -> Self
Appends an item to agents_info.
To override the contents of this collection use set_agents_info.
Lists agents or the collector by ID or lists all agents/collectors associated with your user, if you did not specify an agent/collector ID. The output includes agent/collector IDs, IP addresses, media access control (MAC) addresses, agent/collector health, host name where the agent/collector resides, and the version number of each agent/collector.
sourcepub fn set_agents_info(self, input: Option<Vec<AgentInfo>>) -> Self
pub fn set_agents_info(self, input: Option<Vec<AgentInfo>>) -> Self
Lists agents or the collector by ID or lists all agents/collectors associated with your user, if you did not specify an agent/collector ID. The output includes agent/collector IDs, IP addresses, media access control (MAC) addresses, agent/collector health, host name where the agent/collector resides, and the version number of each agent/collector.
sourcepub fn get_agents_info(&self) -> &Option<Vec<AgentInfo>>
pub fn get_agents_info(&self) -> &Option<Vec<AgentInfo>>
Lists agents or the collector by ID or lists all agents/collectors associated with your user, if you did not specify an agent/collector ID. The output includes agent/collector IDs, IP addresses, media access control (MAC) addresses, agent/collector health, host name where the agent/collector resides, and the version number of each agent/collector.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
Token to retrieve the next set of results. For example, if you specified 100 IDs for DescribeAgentsRequest$agentIds but set DescribeAgentsRequest$maxResults to 10, you received a set of 10 results along with this token. Use this token in the next query to retrieve the next set of 10.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
Token to retrieve the next set of results. For example, if you specified 100 IDs for DescribeAgentsRequest$agentIds but set DescribeAgentsRequest$maxResults to 10, you received a set of 10 results along with this token. Use this token in the next query to retrieve the next set of 10.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
Token to retrieve the next set of results. For example, if you specified 100 IDs for DescribeAgentsRequest$agentIds but set DescribeAgentsRequest$maxResults to 10, you received a set of 10 results along with this token. Use this token in the next query to retrieve the next set of 10.
sourcepub fn build(self) -> DescribeAgentsOutput
pub fn build(self) -> DescribeAgentsOutput
Consumes the builder and constructs a DescribeAgentsOutput.
Trait Implementations§
source§impl Clone for DescribeAgentsOutputBuilder
impl Clone for DescribeAgentsOutputBuilder
source§fn clone(&self) -> DescribeAgentsOutputBuilder
fn clone(&self) -> DescribeAgentsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DescribeAgentsOutputBuilder
impl Debug for DescribeAgentsOutputBuilder
source§impl Default for DescribeAgentsOutputBuilder
impl Default for DescribeAgentsOutputBuilder
source§fn default() -> DescribeAgentsOutputBuilder
fn default() -> DescribeAgentsOutputBuilder
source§impl PartialEq for DescribeAgentsOutputBuilder
impl PartialEq for DescribeAgentsOutputBuilder
source§fn eq(&self, other: &DescribeAgentsOutputBuilder) -> bool
fn eq(&self, other: &DescribeAgentsOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.