Struct aws_sdk_lexmodelsv2::input::delete_utterances_input::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for DeleteUtterancesInput.
Implementations§
source§impl Builder
impl Builder
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 that contains the utterances.
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 that contains the utterances.
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 where the utterances were collected. 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 where the utterances were collected. The string must match one of the supported locales. For more information, see Supported languages.
sourcepub fn session_id(self, input: impl Into<String>) -> Self
pub fn session_id(self, input: impl Into<String>) -> Self
The unique identifier of the session with the user. The ID is returned in the response from the RecognizeText and RecognizeUtterance operations.
sourcepub fn set_session_id(self, input: Option<String>) -> Self
pub fn set_session_id(self, input: Option<String>) -> Self
The unique identifier of the session with the user. The ID is returned in the response from the RecognizeText and RecognizeUtterance operations.
sourcepub fn build(self) -> Result<DeleteUtterancesInput, BuildError>
pub fn build(self) -> Result<DeleteUtterancesInput, BuildError>
Consumes the builder and constructs a DeleteUtterancesInput.