Struct aws_sdk_applicationdiscovery::input::start_data_collection_by_agent_ids_input::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for StartDataCollectionByAgentIdsInput.
Implementations
sourceimpl Builder
impl Builder
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 IDs of the agents or connectors from which to start collecting data. If you send a request to an agent/connector ID that you do not have permission to contact, according to your Amazon Web Services account, the service does not throw an exception. Instead, it returns the error in the Description field. If you send a request to multiple agents/connectors and you do not have permission to contact some of those agents/connectors, the system does not throw an exception. Instead, the system shows Failed in the Description field.
sourcepub fn set_agent_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_agent_ids(self, input: Option<Vec<String>>) -> Self
The IDs of the agents or connectors from which to start collecting data. If you send a request to an agent/connector ID that you do not have permission to contact, according to your Amazon Web Services account, the service does not throw an exception. Instead, it returns the error in the Description field. If you send a request to multiple agents/connectors and you do not have permission to contact some of those agents/connectors, the system does not throw an exception. Instead, the system shows Failed in the Description field.
sourcepub fn build(self) -> Result<StartDataCollectionByAgentIdsInput, BuildError>
pub fn build(self) -> Result<StartDataCollectionByAgentIdsInput, BuildError>
Consumes the builder and constructs a StartDataCollectionByAgentIdsInput.