Struct aws_sdk_lexruntimev2::input::delete_session_input::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for DeleteSessionInput.
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 identifier of the bot that contains the session data.
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 that contains the session data.
sourcepub fn bot_alias_id(self, input: impl Into<String>) -> Self
pub fn bot_alias_id(self, input: impl Into<String>) -> Self
The alias identifier in use for the bot that contains the session data.
sourcepub fn set_bot_alias_id(self, input: Option<String>) -> Self
pub fn set_bot_alias_id(self, input: Option<String>) -> Self
The alias identifier in use for the bot that contains the session data.
sourcepub fn locale_id(self, input: impl Into<String>) -> Self
pub fn locale_id(self, input: impl Into<String>) -> Self
The locale where the session is in use.
sourcepub fn set_locale_id(self, input: Option<String>) -> Self
pub fn set_locale_id(self, input: Option<String>) -> Self
The locale where the session is in use.
sourcepub fn session_id(self, input: impl Into<String>) -> Self
pub fn session_id(self, input: impl Into<String>) -> Self
The identifier of the session to delete.
sourcepub fn set_session_id(self, input: Option<String>) -> Self
pub fn set_session_id(self, input: Option<String>) -> Self
The identifier of the session to delete.
sourcepub fn build(self) -> Result<DeleteSessionInput, BuildError>
pub fn build(self) -> Result<DeleteSessionInput, BuildError>
Consumes the builder and constructs a DeleteSessionInput.