Struct aws_sdk_lexmodelsv2::input::delete_bot_input::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for DeleteBotInput.
Implementations§
source§impl Builder
impl Builder
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 skip_resource_in_use_check(self, input: bool) -> Self
pub fn skip_resource_in_use_check(self, input: bool) -> Self
When true, Amazon Lex doesn't check to see if another resource, such as an alias, is using the bot before it is deleted.
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
When true, Amazon Lex doesn't check to see if another resource, such as an alias, is using the bot before it is deleted.
sourcepub fn build(self) -> Result<DeleteBotInput, BuildError>
pub fn build(self) -> Result<DeleteBotInput, BuildError>
Consumes the builder and constructs a DeleteBotInput.