#[non_exhaustive]pub struct DeleteSlotInputBuilder { /* private fields */ }Expand description
A builder for DeleteSlotInput.
Implementations§
source§impl DeleteSlotInputBuilder
impl DeleteSlotInputBuilder
sourcepub fn slot_id(self, input: impl Into<String>) -> Self
pub fn slot_id(self, input: impl Into<String>) -> Self
The identifier of the slot to delete.
This field is required.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 get_slot_id(&self) -> &Option<String>
pub fn get_slot_id(&self) -> &Option<String>
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.
This field is required.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 get_bot_id(&self) -> &Option<String>
pub fn get_bot_id(&self) -> &Option<String>
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.
This field is required.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 get_bot_version(&self) -> &Option<String>
pub fn get_bot_version(&self) -> &Option<String>
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.
This field is required.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 get_locale_id(&self) -> &Option<String>
pub fn get_locale_id(&self) -> &Option<String>
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.
This field is required.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 get_intent_id(&self) -> &Option<String>
pub fn get_intent_id(&self) -> &Option<String>
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.
source§impl DeleteSlotInputBuilder
impl DeleteSlotInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteSlotOutput, SdkError<DeleteSlotError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteSlotOutput, SdkError<DeleteSlotError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteSlotInputBuilder
impl Clone for DeleteSlotInputBuilder
source§fn clone(&self) -> DeleteSlotInputBuilder
fn clone(&self) -> DeleteSlotInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DeleteSlotInputBuilder
impl Debug for DeleteSlotInputBuilder
source§impl Default for DeleteSlotInputBuilder
impl Default for DeleteSlotInputBuilder
source§fn default() -> DeleteSlotInputBuilder
fn default() -> DeleteSlotInputBuilder
source§impl PartialEq for DeleteSlotInputBuilder
impl PartialEq for DeleteSlotInputBuilder
source§fn eq(&self, other: &DeleteSlotInputBuilder) -> bool
fn eq(&self, other: &DeleteSlotInputBuilder) -> bool
self and other values to be equal, and is used
by ==.