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 ==
.