#[non_exhaustive]pub struct DeleteBotInputBuilder { /* private fields */ }Expand description
A builder for DeleteBotInput.
Implementations§
source§impl DeleteBotInputBuilder
impl DeleteBotInputBuilder
sourcepub fn set_bot_id(self, input: Option<String>) -> Self
pub fn set_bot_id(self, input: Option<String>) -> Self
The identifier of the bot to delete.
sourcepub fn get_bot_id(&self) -> &Option<String>
pub fn get_bot_id(&self) -> &Option<String>
The identifier of the bot to delete.
sourcepub fn skip_resource_in_use_check(self, input: bool) -> Self
pub fn skip_resource_in_use_check(self, input: bool) -> Self
By default, Amazon Lex checks if any other resource, such as an alias or bot network, is using the bot version before it is deleted and throws a ResourceInUseException exception if the bot is being used by another resource. Set this parameter to true to skip this check and remove the bot even if it is being used by another resource.
sourcepub fn set_skip_resource_in_use_check(self, input: Option<bool>) -> Self
pub fn set_skip_resource_in_use_check(self, input: Option<bool>) -> Self
By default, Amazon Lex checks if any other resource, such as an alias or bot network, is using the bot version before it is deleted and throws a ResourceInUseException exception if the bot is being used by another resource. Set this parameter to true to skip this check and remove the bot even if it is being used by another resource.
sourcepub fn get_skip_resource_in_use_check(&self) -> &Option<bool>
pub fn get_skip_resource_in_use_check(&self) -> &Option<bool>
By default, Amazon Lex checks if any other resource, such as an alias or bot network, is using the bot version before it is deleted and throws a ResourceInUseException exception if the bot is being used by another resource. Set this parameter to true to skip this check and remove the bot even if it is being used by another resource.
sourcepub fn build(self) -> Result<DeleteBotInput, BuildError>
pub fn build(self) -> Result<DeleteBotInput, BuildError>
Consumes the builder and constructs a DeleteBotInput.
source§impl DeleteBotInputBuilder
impl DeleteBotInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteBotOutput, SdkError<DeleteBotError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteBotOutput, SdkError<DeleteBotError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteBotInputBuilder
impl Clone for DeleteBotInputBuilder
source§fn clone(&self) -> DeleteBotInputBuilder
fn clone(&self) -> DeleteBotInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DeleteBotInputBuilder
impl Debug for DeleteBotInputBuilder
source§impl Default for DeleteBotInputBuilder
impl Default for DeleteBotInputBuilder
source§fn default() -> DeleteBotInputBuilder
fn default() -> DeleteBotInputBuilder
source§impl PartialEq<DeleteBotInputBuilder> for DeleteBotInputBuilder
impl PartialEq<DeleteBotInputBuilder> for DeleteBotInputBuilder
source§fn eq(&self, other: &DeleteBotInputBuilder) -> bool
fn eq(&self, other: &DeleteBotInputBuilder) -> bool
self and other values to be equal, and is used
by ==.