Struct aws_sdk_lexruntimev2::operation::start_conversation::builders::StartConversationOutputBuilder
source · #[non_exhaustive]pub struct StartConversationOutputBuilder { /* private fields */ }Expand description
A builder for StartConversationOutput.
Implementations§
source§impl StartConversationOutputBuilder
impl StartConversationOutputBuilder
sourcepub fn response_event_stream(
self,
input: EventReceiver<StartConversationResponseEventStream, StartConversationResponseEventStreamError>
) -> Self
pub fn response_event_stream( self, input: EventReceiver<StartConversationResponseEventStream, StartConversationResponseEventStreamError> ) -> Self
Represents the stream of events from Amazon Lex V2 to your application. The events are encoded as HTTP/2 data frames.
sourcepub fn set_response_event_stream(
self,
input: Option<EventReceiver<StartConversationResponseEventStream, StartConversationResponseEventStreamError>>
) -> Self
pub fn set_response_event_stream( self, input: Option<EventReceiver<StartConversationResponseEventStream, StartConversationResponseEventStreamError>> ) -> Self
Represents the stream of events from Amazon Lex V2 to your application. The events are encoded as HTTP/2 data frames.
sourcepub fn get_response_event_stream(
&self
) -> &Option<EventReceiver<StartConversationResponseEventStream, StartConversationResponseEventStreamError>>
pub fn get_response_event_stream( &self ) -> &Option<EventReceiver<StartConversationResponseEventStream, StartConversationResponseEventStreamError>>
Represents the stream of events from Amazon Lex V2 to your application. The events are encoded as HTTP/2 data frames.
sourcepub fn build(self) -> Result<StartConversationOutput, BuildError>
pub fn build(self) -> Result<StartConversationOutput, BuildError>
Consumes the builder and constructs a StartConversationOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Default for StartConversationOutputBuilder
impl Default for StartConversationOutputBuilder
source§fn default() -> StartConversationOutputBuilder
fn default() -> StartConversationOutputBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for StartConversationOutputBuilder
impl !RefUnwindSafe for StartConversationOutputBuilder
impl Send for StartConversationOutputBuilder
impl Sync for StartConversationOutputBuilder
impl Unpin for StartConversationOutputBuilder
impl !UnwindSafe for StartConversationOutputBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.