Struct aws_sdk_applicationdiscovery::operation::stop_data_collection_by_agent_ids::builders::StopDataCollectionByAgentIdsInputBuilder
source · #[non_exhaustive]pub struct StopDataCollectionByAgentIdsInputBuilder { /* private fields */ }
Expand description
A builder for StopDataCollectionByAgentIdsInput
.
Implementations§
source§impl StopDataCollectionByAgentIdsInputBuilder
impl StopDataCollectionByAgentIdsInputBuilder
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 from which to stop collecting data.
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 from which to stop collecting data.
sourcepub fn get_agent_ids(&self) -> &Option<Vec<String>>
pub fn get_agent_ids(&self) -> &Option<Vec<String>>
The IDs of the agents from which to stop collecting data.
sourcepub fn build(self) -> Result<StopDataCollectionByAgentIdsInput, BuildError>
pub fn build(self) -> Result<StopDataCollectionByAgentIdsInput, BuildError>
Consumes the builder and constructs a StopDataCollectionByAgentIdsInput
.
source§impl StopDataCollectionByAgentIdsInputBuilder
impl StopDataCollectionByAgentIdsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StopDataCollectionByAgentIdsOutput, SdkError<StopDataCollectionByAgentIdsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StopDataCollectionByAgentIdsOutput, SdkError<StopDataCollectionByAgentIdsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StopDataCollectionByAgentIdsInputBuilder
impl Clone for StopDataCollectionByAgentIdsInputBuilder
source§fn clone(&self) -> StopDataCollectionByAgentIdsInputBuilder
fn clone(&self) -> StopDataCollectionByAgentIdsInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for StopDataCollectionByAgentIdsInputBuilder
impl Default for StopDataCollectionByAgentIdsInputBuilder
source§fn default() -> StopDataCollectionByAgentIdsInputBuilder
fn default() -> StopDataCollectionByAgentIdsInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for StopDataCollectionByAgentIdsInputBuilder
impl PartialEq for StopDataCollectionByAgentIdsInputBuilder
source§fn eq(&self, other: &StopDataCollectionByAgentIdsInputBuilder) -> bool
fn eq(&self, other: &StopDataCollectionByAgentIdsInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StopDataCollectionByAgentIdsInputBuilder
Auto Trait Implementations§
impl Freeze for StopDataCollectionByAgentIdsInputBuilder
impl RefUnwindSafe for StopDataCollectionByAgentIdsInputBuilder
impl Send for StopDataCollectionByAgentIdsInputBuilder
impl Sync for StopDataCollectionByAgentIdsInputBuilder
impl Unpin for StopDataCollectionByAgentIdsInputBuilder
impl UnwindSafe for StopDataCollectionByAgentIdsInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.