Struct aws_sdk_lexmodelsv2::operation::delete_bot_version::builders::DeleteBotVersionInputBuilder
source · #[non_exhaustive]pub struct DeleteBotVersionInputBuilder { /* private fields */ }Expand description
A builder for DeleteBotVersionInput.
Implementations§
source§impl DeleteBotVersionInputBuilder
impl DeleteBotVersionInputBuilder
sourcepub fn bot_id(self, input: impl Into<String>) -> Self
pub fn bot_id(self, input: impl Into<String>) -> Self
The identifier of the bot that contains the version.
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 that contains the version.
sourcepub fn get_bot_id(&self) -> &Option<String>
pub fn get_bot_id(&self) -> &Option<String>
The identifier of the bot that contains the version.
sourcepub fn bot_version(self, input: impl Into<String>) -> Self
pub fn bot_version(self, input: impl Into<String>) -> Self
The version of the bot to delete.
sourcepub fn set_bot_version(self, input: Option<String>) -> Self
pub fn set_bot_version(self, input: Option<String>) -> Self
The version of the bot to delete.
sourcepub fn get_bot_version(&self) -> &Option<String>
pub fn get_bot_version(&self) -> &Option<String>
The version 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 version is being used by another resource. Set this parameter to true to skip this check and remove the version 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 version is being used by another resource. Set this parameter to true to skip this check and remove the version 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 version is being used by another resource. Set this parameter to true to skip this check and remove the version even if it is being used by another resource.
sourcepub fn build(self) -> Result<DeleteBotVersionInput, BuildError>
pub fn build(self) -> Result<DeleteBotVersionInput, BuildError>
Consumes the builder and constructs a DeleteBotVersionInput.
source§impl DeleteBotVersionInputBuilder
impl DeleteBotVersionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteBotVersionOutput, SdkError<DeleteBotVersionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteBotVersionOutput, SdkError<DeleteBotVersionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteBotVersionInputBuilder
impl Clone for DeleteBotVersionInputBuilder
source§fn clone(&self) -> DeleteBotVersionInputBuilder
fn clone(&self) -> DeleteBotVersionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DeleteBotVersionInputBuilder
impl Debug for DeleteBotVersionInputBuilder
source§impl Default for DeleteBotVersionInputBuilder
impl Default for DeleteBotVersionInputBuilder
source§fn default() -> DeleteBotVersionInputBuilder
fn default() -> DeleteBotVersionInputBuilder
source§impl PartialEq for DeleteBotVersionInputBuilder
impl PartialEq for DeleteBotVersionInputBuilder
source§fn eq(&self, other: &DeleteBotVersionInputBuilder) -> bool
fn eq(&self, other: &DeleteBotVersionInputBuilder) -> bool
self and other values to be equal, and is used
by ==.