Struct aws_sdk_connect::operation::update_instance_attribute::builders::UpdateInstanceAttributeInputBuilder
source · #[non_exhaustive]pub struct UpdateInstanceAttributeInputBuilder { /* private fields */ }
Expand description
A builder for UpdateInstanceAttributeInput
.
Implementations§
source§impl UpdateInstanceAttributeInputBuilder
impl UpdateInstanceAttributeInputBuilder
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 attribute_type(self, input: InstanceAttributeType) -> Self
pub fn attribute_type(self, input: InstanceAttributeType) -> Self
The type of attribute.
Only allowlisted customers can consume USE_CUSTOM_TTS_VOICES. To access this feature, contact Amazon Web Services Support for allowlisting.
sourcepub fn set_attribute_type(self, input: Option<InstanceAttributeType>) -> Self
pub fn set_attribute_type(self, input: Option<InstanceAttributeType>) -> Self
The type of attribute.
Only allowlisted customers can consume USE_CUSTOM_TTS_VOICES. To access this feature, contact Amazon Web Services Support for allowlisting.
sourcepub fn get_attribute_type(&self) -> &Option<InstanceAttributeType>
pub fn get_attribute_type(&self) -> &Option<InstanceAttributeType>
The type of attribute.
Only allowlisted customers can consume USE_CUSTOM_TTS_VOICES. To access this feature, contact Amazon Web Services Support for allowlisting.
sourcepub fn value(self, input: impl Into<String>) -> Self
pub fn value(self, input: impl Into<String>) -> Self
The value for the attribute. Maximum character limit is 100.
sourcepub fn set_value(self, input: Option<String>) -> Self
pub fn set_value(self, input: Option<String>) -> Self
The value for the attribute. Maximum character limit is 100.
sourcepub fn get_value(&self) -> &Option<String>
pub fn get_value(&self) -> &Option<String>
The value for the attribute. Maximum character limit is 100.
sourcepub fn build(self) -> Result<UpdateInstanceAttributeInput, BuildError>
pub fn build(self) -> Result<UpdateInstanceAttributeInput, BuildError>
Consumes the builder and constructs a UpdateInstanceAttributeInput
.
source§impl UpdateInstanceAttributeInputBuilder
impl UpdateInstanceAttributeInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateInstanceAttributeOutput, SdkError<UpdateInstanceAttributeError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateInstanceAttributeOutput, SdkError<UpdateInstanceAttributeError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateInstanceAttributeInputBuilder
impl Clone for UpdateInstanceAttributeInputBuilder
source§fn clone(&self) -> UpdateInstanceAttributeInputBuilder
fn clone(&self) -> UpdateInstanceAttributeInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateInstanceAttributeInputBuilder
impl Default for UpdateInstanceAttributeInputBuilder
source§fn default() -> UpdateInstanceAttributeInputBuilder
fn default() -> UpdateInstanceAttributeInputBuilder
source§impl PartialEq<UpdateInstanceAttributeInputBuilder> for UpdateInstanceAttributeInputBuilder
impl PartialEq<UpdateInstanceAttributeInputBuilder> for UpdateInstanceAttributeInputBuilder
source§fn eq(&self, other: &UpdateInstanceAttributeInputBuilder) -> bool
fn eq(&self, other: &UpdateInstanceAttributeInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.