#[non_exhaustive]pub struct UpdateAdapterInputBuilder { /* private fields */ }
Expand description
A builder for UpdateAdapterInput
.
Implementations§
source§impl UpdateAdapterInputBuilder
impl UpdateAdapterInputBuilder
sourcepub fn adapter_id(self, input: impl Into<String>) -> Self
pub fn adapter_id(self, input: impl Into<String>) -> Self
A string containing a unique ID for the adapter that will be updated.
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 containing a unique ID for the adapter that will be updated.
sourcepub fn get_adapter_id(&self) -> &Option<String>
pub fn get_adapter_id(&self) -> &Option<String>
A string containing a unique ID for the adapter that will be updated.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The new description to be applied to the adapter.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The new description to be applied to the adapter.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The new description to be applied to the adapter.
sourcepub fn adapter_name(self, input: impl Into<String>) -> Self
pub fn adapter_name(self, input: impl Into<String>) -> Self
The new name to be applied to the adapter.
sourcepub fn set_adapter_name(self, input: Option<String>) -> Self
pub fn set_adapter_name(self, input: Option<String>) -> Self
The new name to be applied to the adapter.
sourcepub fn get_adapter_name(&self) -> &Option<String>
pub fn get_adapter_name(&self) -> &Option<String>
The new name to be applied to the adapter.
sourcepub fn auto_update(self, input: AutoUpdate) -> Self
pub fn auto_update(self, input: AutoUpdate) -> Self
The new auto-update status to be applied to the adapter.
sourcepub fn set_auto_update(self, input: Option<AutoUpdate>) -> Self
pub fn set_auto_update(self, input: Option<AutoUpdate>) -> Self
The new auto-update status to be applied to the adapter.
sourcepub fn get_auto_update(&self) -> &Option<AutoUpdate>
pub fn get_auto_update(&self) -> &Option<AutoUpdate>
The new auto-update status to be applied to the adapter.
sourcepub fn build(self) -> Result<UpdateAdapterInput, BuildError>
pub fn build(self) -> Result<UpdateAdapterInput, BuildError>
Consumes the builder and constructs a UpdateAdapterInput
.
source§impl UpdateAdapterInputBuilder
impl UpdateAdapterInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateAdapterOutput, SdkError<UpdateAdapterError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateAdapterOutput, SdkError<UpdateAdapterError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateAdapterInputBuilder
impl Clone for UpdateAdapterInputBuilder
source§fn clone(&self) -> UpdateAdapterInputBuilder
fn clone(&self) -> UpdateAdapterInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateAdapterInputBuilder
impl Debug for UpdateAdapterInputBuilder
source§impl Default for UpdateAdapterInputBuilder
impl Default for UpdateAdapterInputBuilder
source§fn default() -> UpdateAdapterInputBuilder
fn default() -> UpdateAdapterInputBuilder
source§impl PartialEq for UpdateAdapterInputBuilder
impl PartialEq for UpdateAdapterInputBuilder
source§fn eq(&self, other: &UpdateAdapterInputBuilder) -> bool
fn eq(&self, other: &UpdateAdapterInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateAdapterInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateAdapterInputBuilder
impl RefUnwindSafe for UpdateAdapterInputBuilder
impl Send for UpdateAdapterInputBuilder
impl Sync for UpdateAdapterInputBuilder
impl Unpin for UpdateAdapterInputBuilder
impl UnwindSafe for UpdateAdapterInputBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more