#[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 ==
.