Struct aws_sdk_connect::operation::update_routing_profile_agent_availability_timer::builders::UpdateRoutingProfileAgentAvailabilityTimerInputBuilder
source · #[non_exhaustive]pub struct UpdateRoutingProfileAgentAvailabilityTimerInputBuilder { /* private fields */ }
Expand description
A builder for UpdateRoutingProfileAgentAvailabilityTimerInput
.
Implementations§
source§impl UpdateRoutingProfileAgentAvailabilityTimerInputBuilder
impl UpdateRoutingProfileAgentAvailabilityTimerInputBuilder
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.
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 routing_profile_id(self, input: impl Into<String>) -> Self
pub fn routing_profile_id(self, input: impl Into<String>) -> Self
The identifier of the routing profile.
sourcepub fn set_routing_profile_id(self, input: Option<String>) -> Self
pub fn set_routing_profile_id(self, input: Option<String>) -> Self
The identifier of the routing profile.
sourcepub fn get_routing_profile_id(&self) -> &Option<String>
pub fn get_routing_profile_id(&self) -> &Option<String>
The identifier of the routing profile.
sourcepub fn agent_availability_timer(self, input: AgentAvailabilityTimer) -> Self
pub fn agent_availability_timer(self, input: AgentAvailabilityTimer) -> Self
Whether agents with this routing profile will have their routing order calculated based on time since their last inbound contact or longest idle time.
sourcepub fn set_agent_availability_timer(
self,
input: Option<AgentAvailabilityTimer>
) -> Self
pub fn set_agent_availability_timer( self, input: Option<AgentAvailabilityTimer> ) -> Self
Whether agents with this routing profile will have their routing order calculated based on time since their last inbound contact or longest idle time.
sourcepub fn get_agent_availability_timer(&self) -> &Option<AgentAvailabilityTimer>
pub fn get_agent_availability_timer(&self) -> &Option<AgentAvailabilityTimer>
Whether agents with this routing profile will have their routing order calculated based on time since their last inbound contact or longest idle time.
sourcepub fn build(
self
) -> Result<UpdateRoutingProfileAgentAvailabilityTimerInput, BuildError>
pub fn build( self ) -> Result<UpdateRoutingProfileAgentAvailabilityTimerInput, BuildError>
Consumes the builder and constructs a UpdateRoutingProfileAgentAvailabilityTimerInput
.
source§impl UpdateRoutingProfileAgentAvailabilityTimerInputBuilder
impl UpdateRoutingProfileAgentAvailabilityTimerInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateRoutingProfileAgentAvailabilityTimerOutput, SdkError<UpdateRoutingProfileAgentAvailabilityTimerError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateRoutingProfileAgentAvailabilityTimerOutput, SdkError<UpdateRoutingProfileAgentAvailabilityTimerError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateRoutingProfileAgentAvailabilityTimerInputBuilder
impl Clone for UpdateRoutingProfileAgentAvailabilityTimerInputBuilder
source§fn clone(&self) -> UpdateRoutingProfileAgentAvailabilityTimerInputBuilder
fn clone(&self) -> UpdateRoutingProfileAgentAvailabilityTimerInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateRoutingProfileAgentAvailabilityTimerInputBuilder
impl Default for UpdateRoutingProfileAgentAvailabilityTimerInputBuilder
source§fn default() -> UpdateRoutingProfileAgentAvailabilityTimerInputBuilder
fn default() -> UpdateRoutingProfileAgentAvailabilityTimerInputBuilder
source§impl PartialEq for UpdateRoutingProfileAgentAvailabilityTimerInputBuilder
impl PartialEq for UpdateRoutingProfileAgentAvailabilityTimerInputBuilder
source§fn eq(
&self,
other: &UpdateRoutingProfileAgentAvailabilityTimerInputBuilder
) -> bool
fn eq( &self, other: &UpdateRoutingProfileAgentAvailabilityTimerInputBuilder ) -> bool
self
and other
values to be equal, and is used
by ==
.