Struct aws_sdk_lexmodelsv2::operation::create_bot_replica::builders::CreateBotReplicaFluentBuilder
source · pub struct CreateBotReplicaFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to CreateBotReplica.
Action to create a replication of the source bot in the secondary region.
Implementations§
source§impl CreateBotReplicaFluentBuilder
impl CreateBotReplicaFluentBuilder
sourcepub fn as_input(&self) -> &CreateBotReplicaInputBuilder
pub fn as_input(&self) -> &CreateBotReplicaInputBuilder
Access the CreateBotReplica as a reference.
sourcepub async fn send(
self
) -> Result<CreateBotReplicaOutput, SdkError<CreateBotReplicaError, HttpResponse>>
pub async fn send( self ) -> Result<CreateBotReplicaOutput, SdkError<CreateBotReplicaError, 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<CreateBotReplicaOutput, CreateBotReplicaError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateBotReplicaOutput, CreateBotReplicaError, 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 request for the unique bot ID of the source bot to be replicated in the secondary region.
sourcepub fn set_bot_id(self, input: Option<String>) -> Self
pub fn set_bot_id(self, input: Option<String>) -> Self
The request for the unique bot ID of the source bot to be replicated in the secondary region.
sourcepub fn get_bot_id(&self) -> &Option<String>
pub fn get_bot_id(&self) -> &Option<String>
The request for the unique bot ID of the source bot to be replicated in the secondary region.
sourcepub fn replica_region(self, input: impl Into<String>) -> Self
pub fn replica_region(self, input: impl Into<String>) -> Self
The request for the secondary region that will be used in the replication of the source bot.
sourcepub fn set_replica_region(self, input: Option<String>) -> Self
pub fn set_replica_region(self, input: Option<String>) -> Self
The request for the secondary region that will be used in the replication of the source bot.
sourcepub fn get_replica_region(&self) -> &Option<String>
pub fn get_replica_region(&self) -> &Option<String>
The request for the secondary region that will be used in the replication of the source bot.
Trait Implementations§
source§impl Clone for CreateBotReplicaFluentBuilder
impl Clone for CreateBotReplicaFluentBuilder
source§fn clone(&self) -> CreateBotReplicaFluentBuilder
fn clone(&self) -> CreateBotReplicaFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more