Struct aws_sdk_connect::operation::start_contact_streaming::builders::StartContactStreamingInputBuilder
source · #[non_exhaustive]pub struct StartContactStreamingInputBuilder { /* private fields */ }
Expand description
A builder for StartContactStreamingInput
.
Implementations§
source§impl StartContactStreamingInputBuilder
impl StartContactStreamingInputBuilder
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
This field is required.sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn contact_id(self, input: impl Into<String>) -> Self
pub fn contact_id(self, input: impl Into<String>) -> Self
The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.
This field is required.sourcepub fn set_contact_id(self, input: Option<String>) -> Self
pub fn set_contact_id(self, input: Option<String>) -> Self
The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.
sourcepub fn get_contact_id(&self) -> &Option<String>
pub fn get_contact_id(&self) -> &Option<String>
The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.
sourcepub fn chat_streaming_configuration(
self,
input: ChatStreamingConfiguration
) -> Self
pub fn chat_streaming_configuration( self, input: ChatStreamingConfiguration ) -> Self
The streaming configuration, such as the Amazon SNS streaming endpoint.
This field is required.sourcepub fn set_chat_streaming_configuration(
self,
input: Option<ChatStreamingConfiguration>
) -> Self
pub fn set_chat_streaming_configuration( self, input: Option<ChatStreamingConfiguration> ) -> Self
The streaming configuration, such as the Amazon SNS streaming endpoint.
sourcepub fn get_chat_streaming_configuration(
&self
) -> &Option<ChatStreamingConfiguration>
pub fn get_chat_streaming_configuration( &self ) -> &Option<ChatStreamingConfiguration>
The streaming configuration, such as the Amazon SNS streaming endpoint.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
This field is required.sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
sourcepub fn build(self) -> Result<StartContactStreamingInput, BuildError>
pub fn build(self) -> Result<StartContactStreamingInput, BuildError>
Consumes the builder and constructs a StartContactStreamingInput
.
source§impl StartContactStreamingInputBuilder
impl StartContactStreamingInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StartContactStreamingOutput, SdkError<StartContactStreamingError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StartContactStreamingOutput, SdkError<StartContactStreamingError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StartContactStreamingInputBuilder
impl Clone for StartContactStreamingInputBuilder
source§fn clone(&self) -> StartContactStreamingInputBuilder
fn clone(&self) -> StartContactStreamingInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for StartContactStreamingInputBuilder
impl Default for StartContactStreamingInputBuilder
source§fn default() -> StartContactStreamingInputBuilder
fn default() -> StartContactStreamingInputBuilder
source§impl PartialEq for StartContactStreamingInputBuilder
impl PartialEq for StartContactStreamingInputBuilder
source§fn eq(&self, other: &StartContactStreamingInputBuilder) -> bool
fn eq(&self, other: &StartContactStreamingInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.