Struct aws_sdk_connect::operation::start_contact_recording::builders::StartContactRecordingInputBuilder
source · #[non_exhaustive]pub struct StartContactRecordingInputBuilder { /* private fields */ }
Expand description
A builder for StartContactRecordingInput
.
Implementations§
source§impl StartContactRecordingInputBuilder
impl StartContactRecordingInputBuilder
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 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.
sourcepub fn get_contact_id(&self) -> &Option<String>
pub fn get_contact_id(&self) -> &Option<String>
The identifier of the contact.
sourcepub fn initial_contact_id(self, input: impl Into<String>) -> Self
pub fn initial_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_initial_contact_id(self, input: Option<String>) -> Self
pub fn set_initial_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_initial_contact_id(&self) -> &Option<String>
pub fn get_initial_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 voice_recording_configuration(
self,
input: VoiceRecordingConfiguration
) -> Self
pub fn voice_recording_configuration( self, input: VoiceRecordingConfiguration ) -> Self
The person being recorded.
This field is required.sourcepub fn set_voice_recording_configuration(
self,
input: Option<VoiceRecordingConfiguration>
) -> Self
pub fn set_voice_recording_configuration( self, input: Option<VoiceRecordingConfiguration> ) -> Self
The person being recorded.
sourcepub fn get_voice_recording_configuration(
&self
) -> &Option<VoiceRecordingConfiguration>
pub fn get_voice_recording_configuration( &self ) -> &Option<VoiceRecordingConfiguration>
The person being recorded.
sourcepub fn build(self) -> Result<StartContactRecordingInput, BuildError>
pub fn build(self) -> Result<StartContactRecordingInput, BuildError>
Consumes the builder and constructs a StartContactRecordingInput
.
source§impl StartContactRecordingInputBuilder
impl StartContactRecordingInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StartContactRecordingOutput, SdkError<StartContactRecordingError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StartContactRecordingOutput, SdkError<StartContactRecordingError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StartContactRecordingInputBuilder
impl Clone for StartContactRecordingInputBuilder
source§fn clone(&self) -> StartContactRecordingInputBuilder
fn clone(&self) -> StartContactRecordingInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for StartContactRecordingInputBuilder
impl Default for StartContactRecordingInputBuilder
source§fn default() -> StartContactRecordingInputBuilder
fn default() -> StartContactRecordingInputBuilder
source§impl PartialEq for StartContactRecordingInputBuilder
impl PartialEq for StartContactRecordingInputBuilder
source§fn eq(&self, other: &StartContactRecordingInputBuilder) -> bool
fn eq(&self, other: &StartContactRecordingInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.