Struct aws_sdk_lexmodelsv2::operation::delete_bot_replica::builders::DeleteBotReplicaInputBuilder
source · #[non_exhaustive]pub struct DeleteBotReplicaInputBuilder { /* private fields */ }Expand description
A builder for DeleteBotReplicaInput.
Implementations§
source§impl DeleteBotReplicaInputBuilder
impl DeleteBotReplicaInputBuilder
sourcepub fn bot_id(self, input: impl Into<String>) -> Self
pub fn bot_id(self, input: impl Into<String>) -> Self
The unique ID of the replicated bot to be deleted from the secondary region
This field is required.sourcepub fn set_bot_id(self, input: Option<String>) -> Self
pub fn set_bot_id(self, input: Option<String>) -> Self
The unique ID of the replicated bot to be deleted from the secondary region
sourcepub fn get_bot_id(&self) -> &Option<String>
pub fn get_bot_id(&self) -> &Option<String>
The unique ID of the replicated bot to be deleted from the secondary region
sourcepub fn replica_region(self, input: impl Into<String>) -> Self
pub fn replica_region(self, input: impl Into<String>) -> Self
The secondary region of the replicated bot that will be deleted.
This field is required.sourcepub fn set_replica_region(self, input: Option<String>) -> Self
pub fn set_replica_region(self, input: Option<String>) -> Self
The secondary region of the replicated bot that will be deleted.
sourcepub fn get_replica_region(&self) -> &Option<String>
pub fn get_replica_region(&self) -> &Option<String>
The secondary region of the replicated bot that will be deleted.
sourcepub fn build(self) -> Result<DeleteBotReplicaInput, BuildError>
pub fn build(self) -> Result<DeleteBotReplicaInput, BuildError>
Consumes the builder and constructs a DeleteBotReplicaInput.
source§impl DeleteBotReplicaInputBuilder
impl DeleteBotReplicaInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteBotReplicaOutput, SdkError<DeleteBotReplicaError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteBotReplicaOutput, SdkError<DeleteBotReplicaError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteBotReplicaInputBuilder
impl Clone for DeleteBotReplicaInputBuilder
source§fn clone(&self) -> DeleteBotReplicaInputBuilder
fn clone(&self) -> DeleteBotReplicaInputBuilder
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 DeleteBotReplicaInputBuilder
impl Debug for DeleteBotReplicaInputBuilder
source§impl Default for DeleteBotReplicaInputBuilder
impl Default for DeleteBotReplicaInputBuilder
source§fn default() -> DeleteBotReplicaInputBuilder
fn default() -> DeleteBotReplicaInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DeleteBotReplicaInputBuilder
impl PartialEq for DeleteBotReplicaInputBuilder
source§fn eq(&self, other: &DeleteBotReplicaInputBuilder) -> bool
fn eq(&self, other: &DeleteBotReplicaInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DeleteBotReplicaInputBuilder
Auto Trait Implementations§
impl Freeze for DeleteBotReplicaInputBuilder
impl RefUnwindSafe for DeleteBotReplicaInputBuilder
impl Send for DeleteBotReplicaInputBuilder
impl Sync for DeleteBotReplicaInputBuilder
impl Unpin for DeleteBotReplicaInputBuilder
impl UnwindSafe for DeleteBotReplicaInputBuilder
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.