#[non_exhaustive]pub struct ChatStreamingConfigurationBuilder { /* private fields */ }
Expand description
A builder for ChatStreamingConfiguration
.
Implementations§
source§impl ChatStreamingConfigurationBuilder
impl ChatStreamingConfigurationBuilder
sourcepub fn streaming_endpoint_arn(self, input: impl Into<String>) -> Self
pub fn streaming_endpoint_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the standard Amazon SNS topic. The Amazon Resource Name (ARN) of the streaming endpoint that is used to publish real-time message streaming for chat conversations.
This field is required.sourcepub fn set_streaming_endpoint_arn(self, input: Option<String>) -> Self
pub fn set_streaming_endpoint_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the standard Amazon SNS topic. The Amazon Resource Name (ARN) of the streaming endpoint that is used to publish real-time message streaming for chat conversations.
sourcepub fn get_streaming_endpoint_arn(&self) -> &Option<String>
pub fn get_streaming_endpoint_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the standard Amazon SNS topic. The Amazon Resource Name (ARN) of the streaming endpoint that is used to publish real-time message streaming for chat conversations.
sourcepub fn build(self) -> Result<ChatStreamingConfiguration, BuildError>
pub fn build(self) -> Result<ChatStreamingConfiguration, BuildError>
Consumes the builder and constructs a ChatStreamingConfiguration
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ChatStreamingConfigurationBuilder
impl Clone for ChatStreamingConfigurationBuilder
source§fn clone(&self) -> ChatStreamingConfigurationBuilder
fn clone(&self) -> ChatStreamingConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ChatStreamingConfigurationBuilder
impl Default for ChatStreamingConfigurationBuilder
source§fn default() -> ChatStreamingConfigurationBuilder
fn default() -> ChatStreamingConfigurationBuilder
source§impl PartialEq for ChatStreamingConfigurationBuilder
impl PartialEq for ChatStreamingConfigurationBuilder
source§fn eq(&self, other: &ChatStreamingConfigurationBuilder) -> bool
fn eq(&self, other: &ChatStreamingConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ChatStreamingConfigurationBuilder
Auto Trait Implementations§
impl Freeze for ChatStreamingConfigurationBuilder
impl RefUnwindSafe for ChatStreamingConfigurationBuilder
impl Send for ChatStreamingConfigurationBuilder
impl Sync for ChatStreamingConfigurationBuilder
impl Unpin for ChatStreamingConfigurationBuilder
impl UnwindSafe for ChatStreamingConfigurationBuilder
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
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>
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>
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 more