#[non_exhaustive]pub struct CreateQueueInputBuilder { /* private fields */ }
Expand description
A builder for CreateQueueInput
.
Implementations§
source§impl CreateQueueInputBuilder
impl CreateQueueInputBuilder
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 name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the queue.
This field is required.sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the queue.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the queue.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the queue.
sourcepub fn outbound_caller_config(self, input: OutboundCallerConfig) -> Self
pub fn outbound_caller_config(self, input: OutboundCallerConfig) -> Self
The outbound caller ID name, number, and outbound whisper flow.
sourcepub fn set_outbound_caller_config(
self,
input: Option<OutboundCallerConfig>
) -> Self
pub fn set_outbound_caller_config( self, input: Option<OutboundCallerConfig> ) -> Self
The outbound caller ID name, number, and outbound whisper flow.
sourcepub fn get_outbound_caller_config(&self) -> &Option<OutboundCallerConfig>
pub fn get_outbound_caller_config(&self) -> &Option<OutboundCallerConfig>
The outbound caller ID name, number, and outbound whisper flow.
sourcepub fn hours_of_operation_id(self, input: impl Into<String>) -> Self
pub fn hours_of_operation_id(self, input: impl Into<String>) -> Self
The identifier for the hours of operation.
This field is required.sourcepub fn set_hours_of_operation_id(self, input: Option<String>) -> Self
pub fn set_hours_of_operation_id(self, input: Option<String>) -> Self
The identifier for the hours of operation.
sourcepub fn get_hours_of_operation_id(&self) -> &Option<String>
pub fn get_hours_of_operation_id(&self) -> &Option<String>
The identifier for the hours of operation.
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 quick_connect_ids(self, input: impl Into<String>) -> Self
pub fn quick_connect_ids(self, input: impl Into<String>) -> Self
Appends an item to quick_connect_ids
.
To override the contents of this collection use set_quick_connect_ids
.
The quick connects available to agents who are working the queue.
sourcepub fn set_quick_connect_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_quick_connect_ids(self, input: Option<Vec<String>>) -> Self
The quick connects available to agents who are working the queue.
sourcepub fn get_quick_connect_ids(&self) -> &Option<Vec<String>>
pub fn get_quick_connect_ids(&self) -> &Option<Vec<String>>
The quick connects available to agents who are working the queue.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
sourcepub fn build(self) -> Result<CreateQueueInput, BuildError>
pub fn build(self) -> Result<CreateQueueInput, BuildError>
Consumes the builder and constructs a CreateQueueInput
.
source§impl CreateQueueInputBuilder
impl CreateQueueInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateQueueOutput, SdkError<CreateQueueError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateQueueOutput, SdkError<CreateQueueError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateQueueInputBuilder
impl Clone for CreateQueueInputBuilder
source§fn clone(&self) -> CreateQueueInputBuilder
fn clone(&self) -> CreateQueueInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateQueueInputBuilder
impl Debug for CreateQueueInputBuilder
source§impl Default for CreateQueueInputBuilder
impl Default for CreateQueueInputBuilder
source§fn default() -> CreateQueueInputBuilder
fn default() -> CreateQueueInputBuilder
source§impl PartialEq for CreateQueueInputBuilder
impl PartialEq for CreateQueueInputBuilder
source§fn eq(&self, other: &CreateQueueInputBuilder) -> bool
fn eq(&self, other: &CreateQueueInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateQueueInputBuilder
Auto Trait Implementations§
impl Freeze for CreateQueueInputBuilder
impl RefUnwindSafe for CreateQueueInputBuilder
impl Send for CreateQueueInputBuilder
impl Sync for CreateQueueInputBuilder
impl Unpin for CreateQueueInputBuilder
impl UnwindSafe for CreateQueueInputBuilder
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> 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