Struct aws_sdk_alexaforbusiness::operation::update_profile::builders::UpdateProfileFluentBuilder
source ยท pub struct UpdateProfileFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateProfile
.
Updates an existing room profile by room profile ARN.
Implementationsยง
sourceยงimpl UpdateProfileFluentBuilder
impl UpdateProfileFluentBuilder
sourcepub fn as_input(&self) -> &UpdateProfileInputBuilder
pub fn as_input(&self) -> &UpdateProfileInputBuilder
Access the UpdateProfile as a reference.
sourcepub async fn send(
self
) -> Result<UpdateProfileOutput, SdkError<UpdateProfileError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateProfileOutput, SdkError<UpdateProfileError, 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<UpdateProfileOutput, UpdateProfileError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateProfileOutput, UpdateProfileError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn profile_arn(self, input: impl Into<String>) -> Self
pub fn profile_arn(self, input: impl Into<String>) -> Self
The ARN of the room profile to update. Required.
sourcepub fn set_profile_arn(self, input: Option<String>) -> Self
pub fn set_profile_arn(self, input: Option<String>) -> Self
The ARN of the room profile to update. Required.
sourcepub fn get_profile_arn(&self) -> &Option<String>
pub fn get_profile_arn(&self) -> &Option<String>
The ARN of the room profile to update. Required.
sourcepub fn profile_name(self, input: impl Into<String>) -> Self
pub fn profile_name(self, input: impl Into<String>) -> Self
The updated name for the room profile.
sourcepub fn set_profile_name(self, input: Option<String>) -> Self
pub fn set_profile_name(self, input: Option<String>) -> Self
The updated name for the room profile.
sourcepub fn get_profile_name(&self) -> &Option<String>
pub fn get_profile_name(&self) -> &Option<String>
The updated name for the room profile.
sourcepub fn is_default(self, input: bool) -> Self
pub fn is_default(self, input: bool) -> Self
Sets the profile as default if selected. If this is missing, no update is done to the default status.
sourcepub fn set_is_default(self, input: Option<bool>) -> Self
pub fn set_is_default(self, input: Option<bool>) -> Self
Sets the profile as default if selected. If this is missing, no update is done to the default status.
sourcepub fn get_is_default(&self) -> &Option<bool>
pub fn get_is_default(&self) -> &Option<bool>
Sets the profile as default if selected. If this is missing, no update is done to the default status.
sourcepub fn timezone(self, input: impl Into<String>) -> Self
pub fn timezone(self, input: impl Into<String>) -> Self
The updated timezone for the room profile.
sourcepub fn set_timezone(self, input: Option<String>) -> Self
pub fn set_timezone(self, input: Option<String>) -> Self
The updated timezone for the room profile.
sourcepub fn get_timezone(&self) -> &Option<String>
pub fn get_timezone(&self) -> &Option<String>
The updated timezone for the room profile.
sourcepub fn address(self, input: impl Into<String>) -> Self
pub fn address(self, input: impl Into<String>) -> Self
The updated address for the room profile.
sourcepub fn set_address(self, input: Option<String>) -> Self
pub fn set_address(self, input: Option<String>) -> Self
The updated address for the room profile.
sourcepub fn get_address(&self) -> &Option<String>
pub fn get_address(&self) -> &Option<String>
The updated address for the room profile.
sourcepub fn distance_unit(self, input: DistanceUnit) -> Self
pub fn distance_unit(self, input: DistanceUnit) -> Self
The updated distance unit for the room profile.
sourcepub fn set_distance_unit(self, input: Option<DistanceUnit>) -> Self
pub fn set_distance_unit(self, input: Option<DistanceUnit>) -> Self
The updated distance unit for the room profile.
sourcepub fn get_distance_unit(&self) -> &Option<DistanceUnit>
pub fn get_distance_unit(&self) -> &Option<DistanceUnit>
The updated distance unit for the room profile.
sourcepub fn temperature_unit(self, input: TemperatureUnit) -> Self
pub fn temperature_unit(self, input: TemperatureUnit) -> Self
The updated temperature unit for the room profile.
sourcepub fn set_temperature_unit(self, input: Option<TemperatureUnit>) -> Self
pub fn set_temperature_unit(self, input: Option<TemperatureUnit>) -> Self
The updated temperature unit for the room profile.
sourcepub fn get_temperature_unit(&self) -> &Option<TemperatureUnit>
pub fn get_temperature_unit(&self) -> &Option<TemperatureUnit>
The updated temperature unit for the room profile.
sourcepub fn set_wake_word(self, input: Option<WakeWord>) -> Self
pub fn set_wake_word(self, input: Option<WakeWord>) -> Self
The updated wake word for the room profile.
sourcepub fn get_wake_word(&self) -> &Option<WakeWord>
pub fn get_wake_word(&self) -> &Option<WakeWord>
The updated wake word for the room profile.
sourcepub fn locale(self, input: impl Into<String>) -> Self
pub fn locale(self, input: impl Into<String>) -> Self
The updated locale for the room profile. (This is currently only available to a limited preview audience.)
sourcepub fn set_locale(self, input: Option<String>) -> Self
pub fn set_locale(self, input: Option<String>) -> Self
The updated locale for the room profile. (This is currently only available to a limited preview audience.)
sourcepub fn get_locale(&self) -> &Option<String>
pub fn get_locale(&self) -> &Option<String>
The updated locale for the room profile. (This is currently only available to a limited preview audience.)
sourcepub fn setup_mode_disabled(self, input: bool) -> Self
pub fn setup_mode_disabled(self, input: bool) -> Self
Whether the setup mode of the profile is enabled.
sourcepub fn set_setup_mode_disabled(self, input: Option<bool>) -> Self
pub fn set_setup_mode_disabled(self, input: Option<bool>) -> Self
Whether the setup mode of the profile is enabled.
sourcepub fn get_setup_mode_disabled(&self) -> &Option<bool>
pub fn get_setup_mode_disabled(&self) -> &Option<bool>
Whether the setup mode of the profile is enabled.
sourcepub fn max_volume_limit(self, input: i32) -> Self
pub fn max_volume_limit(self, input: i32) -> Self
The updated maximum volume limit for the room profile.
sourcepub fn set_max_volume_limit(self, input: Option<i32>) -> Self
pub fn set_max_volume_limit(self, input: Option<i32>) -> Self
The updated maximum volume limit for the room profile.
sourcepub fn get_max_volume_limit(&self) -> &Option<i32>
pub fn get_max_volume_limit(&self) -> &Option<i32>
The updated maximum volume limit for the room profile.
sourcepub fn pstn_enabled(self, input: bool) -> Self
pub fn pstn_enabled(self, input: bool) -> Self
Whether the PSTN setting of the room profile is enabled.
sourcepub fn set_pstn_enabled(self, input: Option<bool>) -> Self
pub fn set_pstn_enabled(self, input: Option<bool>) -> Self
Whether the PSTN setting of the room profile is enabled.
sourcepub fn get_pstn_enabled(&self) -> &Option<bool>
pub fn get_pstn_enabled(&self) -> &Option<bool>
Whether the PSTN setting of the room profile is enabled.
sourcepub fn data_retention_opt_in(self, input: bool) -> Self
pub fn data_retention_opt_in(self, input: bool) -> Self
Whether data retention of the profile is enabled.
sourcepub fn set_data_retention_opt_in(self, input: Option<bool>) -> Self
pub fn set_data_retention_opt_in(self, input: Option<bool>) -> Self
Whether data retention of the profile is enabled.
sourcepub fn get_data_retention_opt_in(&self) -> &Option<bool>
pub fn get_data_retention_opt_in(&self) -> &Option<bool>
Whether data retention of the profile is enabled.
sourcepub fn meeting_room_configuration(
self,
input: UpdateMeetingRoomConfiguration
) -> Self
pub fn meeting_room_configuration( self, input: UpdateMeetingRoomConfiguration ) -> Self
The updated meeting room settings of a room profile.
sourcepub fn set_meeting_room_configuration(
self,
input: Option<UpdateMeetingRoomConfiguration>
) -> Self
pub fn set_meeting_room_configuration( self, input: Option<UpdateMeetingRoomConfiguration> ) -> Self
The updated meeting room settings of a room profile.
sourcepub fn get_meeting_room_configuration(
&self
) -> &Option<UpdateMeetingRoomConfiguration>
pub fn get_meeting_room_configuration( &self ) -> &Option<UpdateMeetingRoomConfiguration>
The updated meeting room settings of a room profile.
Trait Implementationsยง
sourceยงimpl Clone for UpdateProfileFluentBuilder
impl Clone for UpdateProfileFluentBuilder
sourceยงfn clone(&self) -> UpdateProfileFluentBuilder
fn clone(&self) -> UpdateProfileFluentBuilder
1.0.0 ยท sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementationsยง
impl Freeze for UpdateProfileFluentBuilder
impl !RefUnwindSafe for UpdateProfileFluentBuilder
impl Send for UpdateProfileFluentBuilder
impl Sync for UpdateProfileFluentBuilder
impl Unpin for UpdateProfileFluentBuilder
impl !UnwindSafe for UpdateProfileFluentBuilder
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