Struct aws_sdk_alexaforbusiness::operation::create_profile::builders::CreateProfileFluentBuilder
source · pub struct CreateProfileFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateProfile
.
Creates a new room profile with the specified details.
Implementations§
source§impl CreateProfileFluentBuilder
impl CreateProfileFluentBuilder
sourcepub fn as_input(&self) -> &CreateProfileInputBuilder
pub fn as_input(&self) -> &CreateProfileInputBuilder
Access the CreateProfile as a reference.
sourcepub async fn send(
self
) -> Result<CreateProfileOutput, SdkError<CreateProfileError, HttpResponse>>
pub async fn send( self ) -> Result<CreateProfileOutput, SdkError<CreateProfileError, 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<CreateProfileOutput, CreateProfileError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateProfileOutput, CreateProfileError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn profile_name(self, input: impl Into<String>) -> Self
pub fn profile_name(self, input: impl Into<String>) -> Self
The name of a room profile.
sourcepub fn set_profile_name(self, input: Option<String>) -> Self
pub fn set_profile_name(self, input: Option<String>) -> Self
The name of a room profile.
sourcepub fn get_profile_name(&self) -> &Option<String>
pub fn get_profile_name(&self) -> &Option<String>
The name of a room profile.
sourcepub fn set_timezone(self, input: Option<String>) -> Self
pub fn set_timezone(self, input: Option<String>) -> Self
The time zone used by a room profile.
sourcepub fn get_timezone(&self) -> &Option<String>
pub fn get_timezone(&self) -> &Option<String>
The time zone used by a room profile.
sourcepub fn set_address(self, input: Option<String>) -> Self
pub fn set_address(self, input: Option<String>) -> Self
The valid address for the room.
sourcepub fn get_address(&self) -> &Option<String>
pub fn get_address(&self) -> &Option<String>
The valid address for the room.
sourcepub fn distance_unit(self, input: DistanceUnit) -> Self
pub fn distance_unit(self, input: DistanceUnit) -> Self
The distance unit to be used by devices in the profile.
sourcepub fn set_distance_unit(self, input: Option<DistanceUnit>) -> Self
pub fn set_distance_unit(self, input: Option<DistanceUnit>) -> Self
The distance unit to be used by devices in the profile.
sourcepub fn get_distance_unit(&self) -> &Option<DistanceUnit>
pub fn get_distance_unit(&self) -> &Option<DistanceUnit>
The distance unit to be used by devices in the profile.
sourcepub fn temperature_unit(self, input: TemperatureUnit) -> Self
pub fn temperature_unit(self, input: TemperatureUnit) -> Self
The temperature unit to be used by devices in the profile.
sourcepub fn set_temperature_unit(self, input: Option<TemperatureUnit>) -> Self
pub fn set_temperature_unit(self, input: Option<TemperatureUnit>) -> Self
The temperature unit to be used by devices in the profile.
sourcepub fn get_temperature_unit(&self) -> &Option<TemperatureUnit>
pub fn get_temperature_unit(&self) -> &Option<TemperatureUnit>
The temperature unit to be used by devices in the profile.
sourcepub fn wake_word(self, input: WakeWord) -> Self
pub fn wake_word(self, input: WakeWord) -> Self
A wake word for Alexa, Echo, Amazon, or a computer.
sourcepub fn set_wake_word(self, input: Option<WakeWord>) -> Self
pub fn set_wake_word(self, input: Option<WakeWord>) -> Self
A wake word for Alexa, Echo, Amazon, or a computer.
sourcepub fn get_wake_word(&self) -> &Option<WakeWord>
pub fn get_wake_word(&self) -> &Option<WakeWord>
A wake word for Alexa, Echo, Amazon, or a computer.
sourcepub fn locale(self, input: impl Into<String>) -> Self
pub fn locale(self, input: impl Into<String>) -> Self
The locale of 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 locale of 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 locale of the room profile. (This is currently only available to a limited preview audience.)
sourcepub fn client_request_token(self, input: impl Into<String>) -> Self
pub fn client_request_token(self, input: impl Into<String>) -> Self
The user-specified token that is used during the creation of a profile.
sourcepub fn set_client_request_token(self, input: Option<String>) -> Self
pub fn set_client_request_token(self, input: Option<String>) -> Self
The user-specified token that is used during the creation of a profile.
sourcepub fn get_client_request_token(&self) -> &Option<String>
pub fn get_client_request_token(&self) -> &Option<String>
The user-specified token that is used during the creation of a profile.
sourcepub fn setup_mode_disabled(self, input: bool) -> Self
pub fn setup_mode_disabled(self, input: bool) -> Self
Whether room profile setup 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 room profile setup is enabled.
sourcepub fn get_setup_mode_disabled(&self) -> &Option<bool>
pub fn get_setup_mode_disabled(&self) -> &Option<bool>
Whether room profile setup is enabled.
sourcepub fn max_volume_limit(self, input: i32) -> Self
pub fn max_volume_limit(self, input: i32) -> Self
The maximum volume limit for a 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 maximum volume limit for a room profile.
sourcepub fn get_max_volume_limit(&self) -> &Option<i32>
pub fn get_max_volume_limit(&self) -> &Option<i32>
The maximum volume limit for a room profile.
sourcepub fn pstn_enabled(self, input: bool) -> Self
pub fn pstn_enabled(self, input: bool) -> Self
Whether PSTN calling is enabled.
sourcepub fn set_pstn_enabled(self, input: Option<bool>) -> Self
pub fn set_pstn_enabled(self, input: Option<bool>) -> Self
Whether PSTN calling is enabled.
sourcepub fn get_pstn_enabled(&self) -> &Option<bool>
pub fn get_pstn_enabled(&self) -> &Option<bool>
Whether PSTN calling 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: CreateMeetingRoomConfiguration
) -> Self
pub fn meeting_room_configuration( self, input: CreateMeetingRoomConfiguration ) -> Self
The meeting room settings of a room profile.
sourcepub fn set_meeting_room_configuration(
self,
input: Option<CreateMeetingRoomConfiguration>
) -> Self
pub fn set_meeting_room_configuration( self, input: Option<CreateMeetingRoomConfiguration> ) -> Self
The meeting room settings of a room profile.
sourcepub fn get_meeting_room_configuration(
&self
) -> &Option<CreateMeetingRoomConfiguration>
pub fn get_meeting_room_configuration( &self ) -> &Option<CreateMeetingRoomConfiguration>
The meeting room settings of a room profile.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
The tags for the profile.
The tags for the profile.
The tags for the profile.
Trait Implementations§
source§impl Clone for CreateProfileFluentBuilder
impl Clone for CreateProfileFluentBuilder
source§fn clone(&self) -> CreateProfileFluentBuilder
fn clone(&self) -> CreateProfileFluentBuilder
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 CreateProfileFluentBuilder
impl !RefUnwindSafe for CreateProfileFluentBuilder
impl Send for CreateProfileFluentBuilder
impl Sync for CreateProfileFluentBuilder
impl Unpin for CreateProfileFluentBuilder
impl !UnwindSafe for CreateProfileFluentBuilder
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