Struct aws_sdk_textract::operation::get_adapter_version::builders::GetAdapterVersionInputBuilder
source · #[non_exhaustive]pub struct GetAdapterVersionInputBuilder { /* private fields */ }
Expand description
A builder for GetAdapterVersionInput
.
Implementations§
source§impl GetAdapterVersionInputBuilder
impl GetAdapterVersionInputBuilder
sourcepub fn adapter_id(self, input: impl Into<String>) -> Self
pub fn adapter_id(self, input: impl Into<String>) -> Self
A string specifying a unique ID for the adapter version you want to retrieve information for.
This field is required.sourcepub fn set_adapter_id(self, input: Option<String>) -> Self
pub fn set_adapter_id(self, input: Option<String>) -> Self
A string specifying a unique ID for the adapter version you want to retrieve information for.
sourcepub fn get_adapter_id(&self) -> &Option<String>
pub fn get_adapter_id(&self) -> &Option<String>
A string specifying a unique ID for the adapter version you want to retrieve information for.
sourcepub fn adapter_version(self, input: impl Into<String>) -> Self
pub fn adapter_version(self, input: impl Into<String>) -> Self
A string specifying the adapter version you want to retrieve information for.
This field is required.sourcepub fn set_adapter_version(self, input: Option<String>) -> Self
pub fn set_adapter_version(self, input: Option<String>) -> Self
A string specifying the adapter version you want to retrieve information for.
sourcepub fn get_adapter_version(&self) -> &Option<String>
pub fn get_adapter_version(&self) -> &Option<String>
A string specifying the adapter version you want to retrieve information for.
sourcepub fn build(self) -> Result<GetAdapterVersionInput, BuildError>
pub fn build(self) -> Result<GetAdapterVersionInput, BuildError>
Consumes the builder and constructs a GetAdapterVersionInput
.
source§impl GetAdapterVersionInputBuilder
impl GetAdapterVersionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetAdapterVersionOutput, SdkError<GetAdapterVersionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetAdapterVersionOutput, SdkError<GetAdapterVersionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetAdapterVersionInputBuilder
impl Clone for GetAdapterVersionInputBuilder
source§fn clone(&self) -> GetAdapterVersionInputBuilder
fn clone(&self) -> GetAdapterVersionInputBuilder
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 GetAdapterVersionInputBuilder
impl Default for GetAdapterVersionInputBuilder
source§fn default() -> GetAdapterVersionInputBuilder
fn default() -> GetAdapterVersionInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetAdapterVersionInputBuilder
impl PartialEq for GetAdapterVersionInputBuilder
source§fn eq(&self, other: &GetAdapterVersionInputBuilder) -> bool
fn eq(&self, other: &GetAdapterVersionInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetAdapterVersionInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetAdapterVersionInputBuilder
impl Send for GetAdapterVersionInputBuilder
impl Sync for GetAdapterVersionInputBuilder
impl Unpin for GetAdapterVersionInputBuilder
impl UnwindSafe for GetAdapterVersionInputBuilder
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.