Struct aws_sdk_connect::operation::update_routing_profile_name::builders::UpdateRoutingProfileNameFluentBuilder
source · pub struct UpdateRoutingProfileNameFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateRoutingProfileName
.
Updates the name and description of a routing profile. The request accepts the following data in JSON format. At least Name
or Description
must be provided.
Implementations§
source§impl UpdateRoutingProfileNameFluentBuilder
impl UpdateRoutingProfileNameFluentBuilder
sourcepub fn as_input(&self) -> &UpdateRoutingProfileNameInputBuilder
pub fn as_input(&self) -> &UpdateRoutingProfileNameInputBuilder
Access the UpdateRoutingProfileName as a reference.
sourcepub async fn send(
self
) -> Result<UpdateRoutingProfileNameOutput, SdkError<UpdateRoutingProfileNameError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateRoutingProfileNameOutput, SdkError<UpdateRoutingProfileNameError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<UpdateRoutingProfileNameOutput, UpdateRoutingProfileNameError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateRoutingProfileNameOutput, UpdateRoutingProfileNameError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the routing profile. Must not be more than 127 characters.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the routing profile. Must not be more than 127 characters.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the routing profile. Must not be more than 127 characters.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the routing profile. Must not be more than 250 characters.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the routing profile. Must not be more than 250 characters.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the routing profile. Must not be more than 250 characters.
Trait Implementations§
source§impl Clone for UpdateRoutingProfileNameFluentBuilder
impl Clone for UpdateRoutingProfileNameFluentBuilder
source§fn clone(&self) -> UpdateRoutingProfileNameFluentBuilder
fn clone(&self) -> UpdateRoutingProfileNameFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more