#[non_exhaustive]pub struct DescribeAgentInputBuilder { /* private fields */ }
Expand description
A builder for DescribeAgentInput
.
Implementations§
source§impl DescribeAgentInputBuilder
impl DescribeAgentInputBuilder
sourcepub fn agent_arn(self, input: impl Into<String>) -> Self
pub fn agent_arn(self, input: impl Into<String>) -> Self
Specifies the Amazon Resource Name (ARN) of the DataSync agent that you want information about.
This field is required.sourcepub fn set_agent_arn(self, input: Option<String>) -> Self
pub fn set_agent_arn(self, input: Option<String>) -> Self
Specifies the Amazon Resource Name (ARN) of the DataSync agent that you want information about.
sourcepub fn get_agent_arn(&self) -> &Option<String>
pub fn get_agent_arn(&self) -> &Option<String>
Specifies the Amazon Resource Name (ARN) of the DataSync agent that you want information about.
sourcepub fn build(self) -> Result<DescribeAgentInput, BuildError>
pub fn build(self) -> Result<DescribeAgentInput, BuildError>
Consumes the builder and constructs a DescribeAgentInput
.
source§impl DescribeAgentInputBuilder
impl DescribeAgentInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeAgentOutput, SdkError<DescribeAgentError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeAgentOutput, SdkError<DescribeAgentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeAgentInputBuilder
impl Clone for DescribeAgentInputBuilder
source§fn clone(&self) -> DescribeAgentInputBuilder
fn clone(&self) -> DescribeAgentInputBuilder
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 Debug for DescribeAgentInputBuilder
impl Debug for DescribeAgentInputBuilder
source§impl Default for DescribeAgentInputBuilder
impl Default for DescribeAgentInputBuilder
source§fn default() -> DescribeAgentInputBuilder
fn default() -> DescribeAgentInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DescribeAgentInputBuilder
impl PartialEq for DescribeAgentInputBuilder
source§fn eq(&self, other: &DescribeAgentInputBuilder) -> bool
fn eq(&self, other: &DescribeAgentInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeAgentInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DescribeAgentInputBuilder
impl Send for DescribeAgentInputBuilder
impl Sync for DescribeAgentInputBuilder
impl Unpin for DescribeAgentInputBuilder
impl UnwindSafe for DescribeAgentInputBuilder
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.