Struct aws_sdk_connect::operation::update_contact_routing_data::builders::UpdateContactRoutingDataInputBuilder
source · #[non_exhaustive]pub struct UpdateContactRoutingDataInputBuilder { /* private fields */ }
Expand description
A builder for UpdateContactRoutingDataInput
.
Implementations§
source§impl UpdateContactRoutingDataInputBuilder
impl UpdateContactRoutingDataInputBuilder
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 in this instance of Amazon Connect.
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 in this instance of Amazon Connect.
sourcepub fn get_contact_id(&self) -> &Option<String>
pub fn get_contact_id(&self) -> &Option<String>
The identifier of the contact in this instance of Amazon Connect.
sourcepub fn queue_time_adjustment_seconds(self, input: i32) -> Self
pub fn queue_time_adjustment_seconds(self, input: i32) -> Self
The number of seconds to add or subtract from the contact's routing age. Contacts are routed to agents on a first-come, first-serve basis. This means that changing their amount of time in queue compared to others also changes their position in queue.
sourcepub fn set_queue_time_adjustment_seconds(self, input: Option<i32>) -> Self
pub fn set_queue_time_adjustment_seconds(self, input: Option<i32>) -> Self
The number of seconds to add or subtract from the contact's routing age. Contacts are routed to agents on a first-come, first-serve basis. This means that changing their amount of time in queue compared to others also changes their position in queue.
sourcepub fn get_queue_time_adjustment_seconds(&self) -> &Option<i32>
pub fn get_queue_time_adjustment_seconds(&self) -> &Option<i32>
The number of seconds to add or subtract from the contact's routing age. Contacts are routed to agents on a first-come, first-serve basis. This means that changing their amount of time in queue compared to others also changes their position in queue.
sourcepub fn queue_priority(self, input: i64) -> Self
pub fn queue_priority(self, input: i64) -> Self
Priority of the contact in the queue. The default priority for new contacts is 5. You can raise the priority of a contact compared to other contacts in the queue by assigning them a higher priority, such as 1 or 2.
sourcepub fn set_queue_priority(self, input: Option<i64>) -> Self
pub fn set_queue_priority(self, input: Option<i64>) -> Self
Priority of the contact in the queue. The default priority for new contacts is 5. You can raise the priority of a contact compared to other contacts in the queue by assigning them a higher priority, such as 1 or 2.
sourcepub fn get_queue_priority(&self) -> &Option<i64>
pub fn get_queue_priority(&self) -> &Option<i64>
Priority of the contact in the queue. The default priority for new contacts is 5. You can raise the priority of a contact compared to other contacts in the queue by assigning them a higher priority, such as 1 or 2.
sourcepub fn build(self) -> Result<UpdateContactRoutingDataInput, BuildError>
pub fn build(self) -> Result<UpdateContactRoutingDataInput, BuildError>
Consumes the builder and constructs a UpdateContactRoutingDataInput
.
source§impl UpdateContactRoutingDataInputBuilder
impl UpdateContactRoutingDataInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateContactRoutingDataOutput, SdkError<UpdateContactRoutingDataError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateContactRoutingDataOutput, SdkError<UpdateContactRoutingDataError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateContactRoutingDataInputBuilder
impl Clone for UpdateContactRoutingDataInputBuilder
source§fn clone(&self) -> UpdateContactRoutingDataInputBuilder
fn clone(&self) -> UpdateContactRoutingDataInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateContactRoutingDataInputBuilder
impl Default for UpdateContactRoutingDataInputBuilder
source§fn default() -> UpdateContactRoutingDataInputBuilder
fn default() -> UpdateContactRoutingDataInputBuilder
source§impl PartialEq for UpdateContactRoutingDataInputBuilder
impl PartialEq for UpdateContactRoutingDataInputBuilder
source§fn eq(&self, other: &UpdateContactRoutingDataInputBuilder) -> bool
fn eq(&self, other: &UpdateContactRoutingDataInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateContactRoutingDataInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateContactRoutingDataInputBuilder
impl RefUnwindSafe for UpdateContactRoutingDataInputBuilder
impl Send for UpdateContactRoutingDataInputBuilder
impl Sync for UpdateContactRoutingDataInputBuilder
impl Unpin for UpdateContactRoutingDataInputBuilder
impl UnwindSafe for UpdateContactRoutingDataInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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