Struct aws_sdk_lexmodelsv2::operation::delete_bot_replica::builders::DeleteBotReplicaFluentBuilder
source · pub struct DeleteBotReplicaFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to DeleteBotReplica.
The action to delete the replicated bot in the secondary region.
Implementations§
source§impl DeleteBotReplicaFluentBuilder
impl DeleteBotReplicaFluentBuilder
sourcepub fn as_input(&self) -> &DeleteBotReplicaInputBuilder
pub fn as_input(&self) -> &DeleteBotReplicaInputBuilder
Access the DeleteBotReplica as a reference.
sourcepub async fn send(
self
) -> Result<DeleteBotReplicaOutput, SdkError<DeleteBotReplicaError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteBotReplicaOutput, SdkError<DeleteBotReplicaError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<DeleteBotReplicaOutput, DeleteBotReplicaError, Self>
pub fn customize( self ) -> CustomizableOperation<DeleteBotReplicaOutput, DeleteBotReplicaError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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
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.
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.
Trait Implementations§
source§impl Clone for DeleteBotReplicaFluentBuilder
impl Clone for DeleteBotReplicaFluentBuilder
source§fn clone(&self) -> DeleteBotReplicaFluentBuilder
fn clone(&self) -> DeleteBotReplicaFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more