Struct aws_sdk_applicationdiscovery::operation::describe_agents::builders::DescribeAgentsInputBuilder
source · #[non_exhaustive]pub struct DescribeAgentsInputBuilder { /* private fields */ }Expand description
A builder for DescribeAgentsInput.
Implementations§
source§impl DescribeAgentsInputBuilder
impl DescribeAgentsInputBuilder
sourcepub fn agent_ids(self, input: impl Into<String>) -> Self
pub fn agent_ids(self, input: impl Into<String>) -> Self
Appends an item to agent_ids.
To override the contents of this collection use set_agent_ids.
The agent or the collector IDs for which you want information. If you specify no IDs, the system returns information about all agents/collectors associated with your user.
sourcepub fn set_agent_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_agent_ids(self, input: Option<Vec<String>>) -> Self
The agent or the collector IDs for which you want information. If you specify no IDs, the system returns information about all agents/collectors associated with your user.
sourcepub fn get_agent_ids(&self) -> &Option<Vec<String>>
pub fn get_agent_ids(&self) -> &Option<Vec<String>>
The agent or the collector IDs for which you want information. If you specify no IDs, the system returns information about all agents/collectors associated with your user.
sourcepub fn filters(self, input: Filter) -> Self
pub fn filters(self, input: Filter) -> Self
Appends an item to filters.
To override the contents of this collection use set_filters.
You can filter the request using various logical operators and a key-value format. For example:
{"key": "collectionStatus", "value": "STARTED"}
sourcepub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
pub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
You can filter the request using various logical operators and a key-value format. For example:
{"key": "collectionStatus", "value": "STARTED"}
sourcepub fn get_filters(&self) -> &Option<Vec<Filter>>
pub fn get_filters(&self) -> &Option<Vec<Filter>>
You can filter the request using various logical operators and a key-value format. For example:
{"key": "collectionStatus", "value": "STARTED"}
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The total number of agents/collectors to return in a single page of output. The maximum value is 100.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The total number of agents/collectors to return in a single page of output. The maximum value is 100.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The total number of agents/collectors to return in a single page of output. The maximum value is 100.
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 previously specified 100 IDs for DescribeAgentsRequest$agentIds but set DescribeAgentsRequest$maxResults to 10, you received a set of 10 results along with a token. Use that token in this query to get 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 previously specified 100 IDs for DescribeAgentsRequest$agentIds but set DescribeAgentsRequest$maxResults to 10, you received a set of 10 results along with a token. Use that token in this query to get 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 previously specified 100 IDs for DescribeAgentsRequest$agentIds but set DescribeAgentsRequest$maxResults to 10, you received a set of 10 results along with a token. Use that token in this query to get the next set of 10.
sourcepub fn build(self) -> Result<DescribeAgentsInput, BuildError>
pub fn build(self) -> Result<DescribeAgentsInput, BuildError>
Consumes the builder and constructs a DescribeAgentsInput.
source§impl DescribeAgentsInputBuilder
impl DescribeAgentsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeAgentsOutput, SdkError<DescribeAgentsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeAgentsOutput, SdkError<DescribeAgentsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeAgentsInputBuilder
impl Clone for DescribeAgentsInputBuilder
source§fn clone(&self) -> DescribeAgentsInputBuilder
fn clone(&self) -> DescribeAgentsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DescribeAgentsInputBuilder
impl Debug for DescribeAgentsInputBuilder
source§impl Default for DescribeAgentsInputBuilder
impl Default for DescribeAgentsInputBuilder
source§fn default() -> DescribeAgentsInputBuilder
fn default() -> DescribeAgentsInputBuilder
source§impl PartialEq for DescribeAgentsInputBuilder
impl PartialEq for DescribeAgentsInputBuilder
source§fn eq(&self, other: &DescribeAgentsInputBuilder) -> bool
fn eq(&self, other: &DescribeAgentsInputBuilder) -> bool
self and other values to be equal, and is used
by ==.