Struct aws_sdk_lexmodelsv2::types::builders::OutputContextBuilder
source · #[non_exhaustive]pub struct OutputContextBuilder { /* private fields */ }Expand description
A builder for OutputContext.
Implementations§
source§impl OutputContextBuilder
impl OutputContextBuilder
sourcepub fn time_to_live_in_seconds(self, input: i32) -> Self
pub fn time_to_live_in_seconds(self, input: i32) -> Self
The amount of time, in seconds, that the output context should remain active. The time is figured from the first time the context is sent to the user.
sourcepub fn set_time_to_live_in_seconds(self, input: Option<i32>) -> Self
pub fn set_time_to_live_in_seconds(self, input: Option<i32>) -> Self
The amount of time, in seconds, that the output context should remain active. The time is figured from the first time the context is sent to the user.
sourcepub fn get_time_to_live_in_seconds(&self) -> &Option<i32>
pub fn get_time_to_live_in_seconds(&self) -> &Option<i32>
The amount of time, in seconds, that the output context should remain active. The time is figured from the first time the context is sent to the user.
sourcepub fn turns_to_live(self, input: i32) -> Self
pub fn turns_to_live(self, input: i32) -> Self
The number of conversation turns that the output context should remain active. The number of turns is counted from the first time that the context is sent to the user.
sourcepub fn set_turns_to_live(self, input: Option<i32>) -> Self
pub fn set_turns_to_live(self, input: Option<i32>) -> Self
The number of conversation turns that the output context should remain active. The number of turns is counted from the first time that the context is sent to the user.
sourcepub fn get_turns_to_live(&self) -> &Option<i32>
pub fn get_turns_to_live(&self) -> &Option<i32>
The number of conversation turns that the output context should remain active. The number of turns is counted from the first time that the context is sent to the user.
sourcepub fn build(self) -> OutputContext
pub fn build(self) -> OutputContext
Consumes the builder and constructs a OutputContext.
Trait Implementations§
source§impl Clone for OutputContextBuilder
impl Clone for OutputContextBuilder
source§fn clone(&self) -> OutputContextBuilder
fn clone(&self) -> OutputContextBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for OutputContextBuilder
impl Debug for OutputContextBuilder
source§impl Default for OutputContextBuilder
impl Default for OutputContextBuilder
source§fn default() -> OutputContextBuilder
fn default() -> OutputContextBuilder
source§impl PartialEq for OutputContextBuilder
impl PartialEq for OutputContextBuilder
source§fn eq(&self, other: &OutputContextBuilder) -> bool
fn eq(&self, other: &OutputContextBuilder) -> bool
self and other values to be equal, and is used
by ==.