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.
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 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.
This field is required.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 for UpdateInstanceAttributeInputBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for UpdateInstanceAttributeInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateInstanceAttributeInputBuilder
impl RefUnwindSafe for UpdateInstanceAttributeInputBuilder
impl Send for UpdateInstanceAttributeInputBuilder
impl Sync for UpdateInstanceAttributeInputBuilder
impl Unpin for UpdateInstanceAttributeInputBuilder
impl UnwindSafe for UpdateInstanceAttributeInputBuilder
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