Struct aws_sdk_connect::operation::stop_contact_streaming::builders::StopContactStreamingInputBuilder
source · #[non_exhaustive]pub struct StopContactStreamingInputBuilder { /* private fields */ }
Expand description
A builder for StopContactStreamingInput
.
Implementations§
source§impl StopContactStreamingInputBuilder
impl StopContactStreamingInputBuilder
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 that is 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 that is 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 that is associated with the first interaction with the contact center.
sourcepub fn streaming_id(self, input: impl Into<String>) -> Self
pub fn streaming_id(self, input: impl Into<String>) -> Self
The identifier of the streaming configuration enabled.
This field is required.sourcepub fn set_streaming_id(self, input: Option<String>) -> Self
pub fn set_streaming_id(self, input: Option<String>) -> Self
The identifier of the streaming configuration enabled.
sourcepub fn get_streaming_id(&self) -> &Option<String>
pub fn get_streaming_id(&self) -> &Option<String>
The identifier of the streaming configuration enabled.
sourcepub fn build(self) -> Result<StopContactStreamingInput, BuildError>
pub fn build(self) -> Result<StopContactStreamingInput, BuildError>
Consumes the builder and constructs a StopContactStreamingInput
.
source§impl StopContactStreamingInputBuilder
impl StopContactStreamingInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StopContactStreamingOutput, SdkError<StopContactStreamingError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StopContactStreamingOutput, SdkError<StopContactStreamingError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StopContactStreamingInputBuilder
impl Clone for StopContactStreamingInputBuilder
source§fn clone(&self) -> StopContactStreamingInputBuilder
fn clone(&self) -> StopContactStreamingInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for StopContactStreamingInputBuilder
impl Default for StopContactStreamingInputBuilder
source§fn default() -> StopContactStreamingInputBuilder
fn default() -> StopContactStreamingInputBuilder
source§impl PartialEq for StopContactStreamingInputBuilder
impl PartialEq for StopContactStreamingInputBuilder
source§fn eq(&self, other: &StopContactStreamingInputBuilder) -> bool
fn eq(&self, other: &StopContactStreamingInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.