#[non_exhaustive]pub struct StopContactInputBuilder { /* private fields */ }
Expand description
A builder for StopContactInput
.
Implementations§
source§impl StopContactInputBuilder
impl StopContactInputBuilder
sourcepub fn contact_id(self, input: impl Into<String>) -> Self
pub fn contact_id(self, input: impl Into<String>) -> Self
The ID 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 ID of the contact.
sourcepub fn get_contact_id(&self) -> &Option<String>
pub fn get_contact_id(&self) -> &Option<String>
The ID of the contact.
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 disconnect_reason(self, input: DisconnectReason) -> Self
pub fn disconnect_reason(self, input: DisconnectReason) -> Self
The reason a contact can be disconnected. Only Amazon Connect outbound campaigns can provide this field.
sourcepub fn set_disconnect_reason(self, input: Option<DisconnectReason>) -> Self
pub fn set_disconnect_reason(self, input: Option<DisconnectReason>) -> Self
The reason a contact can be disconnected. Only Amazon Connect outbound campaigns can provide this field.
sourcepub fn get_disconnect_reason(&self) -> &Option<DisconnectReason>
pub fn get_disconnect_reason(&self) -> &Option<DisconnectReason>
The reason a contact can be disconnected. Only Amazon Connect outbound campaigns can provide this field.
sourcepub fn build(self) -> Result<StopContactInput, BuildError>
pub fn build(self) -> Result<StopContactInput, BuildError>
Consumes the builder and constructs a StopContactInput
.
source§impl StopContactInputBuilder
impl StopContactInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StopContactOutput, SdkError<StopContactError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StopContactOutput, SdkError<StopContactError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StopContactInputBuilder
impl Clone for StopContactInputBuilder
source§fn clone(&self) -> StopContactInputBuilder
fn clone(&self) -> StopContactInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StopContactInputBuilder
impl Debug for StopContactInputBuilder
source§impl Default for StopContactInputBuilder
impl Default for StopContactInputBuilder
source§fn default() -> StopContactInputBuilder
fn default() -> StopContactInputBuilder
source§impl PartialEq for StopContactInputBuilder
impl PartialEq for StopContactInputBuilder
source§fn eq(&self, other: &StopContactInputBuilder) -> bool
fn eq(&self, other: &StopContactInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.