Struct aws_sdk_lexmodelsv2::input::delete_slot_input::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for DeleteSlotInput.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn set_slot_id(self, input: Option<String>) -> Self
pub fn set_slot_id(self, input: Option<String>) -> Self
The identifier of the slot to delete.
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 associated with the slot to delete.
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 associated with the slot to delete.
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 associated with the slot 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 associated with the slot to delete.
sourcepub fn locale_id(self, input: impl Into<String>) -> Self
pub fn locale_id(self, input: impl Into<String>) -> Self
The identifier of the language and locale that the slot will be deleted from. The string must match one of the supported locales. For more information, see Supported languages.
sourcepub fn set_locale_id(self, input: Option<String>) -> Self
pub fn set_locale_id(self, input: Option<String>) -> Self
The identifier of the language and locale that the slot will be deleted from. The string must match one of the supported locales. For more information, see Supported languages.
sourcepub fn intent_id(self, input: impl Into<String>) -> Self
pub fn intent_id(self, input: impl Into<String>) -> Self
The identifier of the intent associated with the slot.
sourcepub fn set_intent_id(self, input: Option<String>) -> Self
pub fn set_intent_id(self, input: Option<String>) -> Self
The identifier of the intent associated with the slot.
sourcepub fn build(self) -> Result<DeleteSlotInput, BuildError>
pub fn build(self) -> Result<DeleteSlotInput, BuildError>
Consumes the builder and constructs a DeleteSlotInput.