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 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 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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
Returns the “default value” for a type. Read more
source§impl PartialEq<OutputContextBuilder> for OutputContextBuilder
impl PartialEq<OutputContextBuilder> for OutputContextBuilder
source§fn eq(&self, other: &OutputContextBuilder) -> bool
fn eq(&self, other: &OutputContextBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for OutputContextBuilder
Auto Trait Implementations§
impl RefUnwindSafe for OutputContextBuilder
impl Send for OutputContextBuilder
impl Sync for OutputContextBuilder
impl Unpin for OutputContextBuilder
impl UnwindSafe for OutputContextBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more