Struct aws_sdk_lexmodelsv2::input::delete_bot_alias_input::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for DeleteBotAliasInput.
Implementations§
source§impl Builder
impl Builder
sourcepub fn bot_alias_id(self, input: impl Into<String>) -> Self
pub fn bot_alias_id(self, input: impl Into<String>) -> Self
The unique identifier of the bot alias to delete.
sourcepub fn set_bot_alias_id(self, input: Option<String>) -> Self
pub fn set_bot_alias_id(self, input: Option<String>) -> Self
The unique identifier of the bot alias to delete.
sourcepub fn bot_id(self, input: impl Into<String>) -> Self
pub fn bot_id(self, input: impl Into<String>) -> Self
The unique identifier of the bot associated with the alias to delete.
sourcepub fn set_bot_id(self, input: Option<String>) -> Self
pub fn set_bot_id(self, input: Option<String>) -> Self
The unique identifier of the bot associated with the alias 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 this parameter is true, Amazon Lex doesn't check to see if any other resource is using the alias 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 this parameter is true, Amazon Lex doesn't check to see if any other resource is using the alias before it is deleted.
sourcepub fn build(self) -> Result<DeleteBotAliasInput, BuildError>
pub fn build(self) -> Result<DeleteBotAliasInput, BuildError>
Consumes the builder and constructs a DeleteBotAliasInput.