Struct aws_sdk_connect::operation::update_queue_max_contacts::builders::UpdateQueueMaxContactsInputBuilder
source · #[non_exhaustive]pub struct UpdateQueueMaxContactsInputBuilder { /* private fields */ }
Expand description
A builder for UpdateQueueMaxContactsInput
.
Implementations§
source§impl UpdateQueueMaxContactsInputBuilder
impl UpdateQueueMaxContactsInputBuilder
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 queue_id(self, input: impl Into<String>) -> Self
pub fn queue_id(self, input: impl Into<String>) -> Self
The identifier for the queue.
This field is required.sourcepub fn set_queue_id(self, input: Option<String>) -> Self
pub fn set_queue_id(self, input: Option<String>) -> Self
The identifier for the queue.
sourcepub fn get_queue_id(&self) -> &Option<String>
pub fn get_queue_id(&self) -> &Option<String>
The identifier for the queue.
sourcepub fn max_contacts(self, input: i32) -> Self
pub fn max_contacts(self, input: i32) -> Self
The maximum number of contacts that can be in the queue before it is considered full.
sourcepub fn set_max_contacts(self, input: Option<i32>) -> Self
pub fn set_max_contacts(self, input: Option<i32>) -> Self
The maximum number of contacts that can be in the queue before it is considered full.
sourcepub fn get_max_contacts(&self) -> &Option<i32>
pub fn get_max_contacts(&self) -> &Option<i32>
The maximum number of contacts that can be in the queue before it is considered full.
sourcepub fn build(self) -> Result<UpdateQueueMaxContactsInput, BuildError>
pub fn build(self) -> Result<UpdateQueueMaxContactsInput, BuildError>
Consumes the builder and constructs a UpdateQueueMaxContactsInput
.
source§impl UpdateQueueMaxContactsInputBuilder
impl UpdateQueueMaxContactsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateQueueMaxContactsOutput, SdkError<UpdateQueueMaxContactsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateQueueMaxContactsOutput, SdkError<UpdateQueueMaxContactsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateQueueMaxContactsInputBuilder
impl Clone for UpdateQueueMaxContactsInputBuilder
source§fn clone(&self) -> UpdateQueueMaxContactsInputBuilder
fn clone(&self) -> UpdateQueueMaxContactsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateQueueMaxContactsInputBuilder
impl Default for UpdateQueueMaxContactsInputBuilder
source§fn default() -> UpdateQueueMaxContactsInputBuilder
fn default() -> UpdateQueueMaxContactsInputBuilder
source§impl PartialEq for UpdateQueueMaxContactsInputBuilder
impl PartialEq for UpdateQueueMaxContactsInputBuilder
source§fn eq(&self, other: &UpdateQueueMaxContactsInputBuilder) -> bool
fn eq(&self, other: &UpdateQueueMaxContactsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.