pub struct CreateProfile { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateProfile
.
Creates a new room profile with the specified details.
Implementations
sourceimpl CreateProfile
impl CreateProfile
sourcepub async fn send(
self
) -> Result<CreateProfileOutput, SdkError<CreateProfileError>>
pub async fn send(
self
) -> Result<CreateProfileOutput, SdkError<CreateProfileError>>
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 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 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 set_address(self, input: Option<String>) -> Self
pub fn set_address(self, input: Option<String>) -> Self
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 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 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 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 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 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 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 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 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 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.
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.
Trait Implementations
sourceimpl Clone for CreateProfile
impl Clone for CreateProfile
sourcefn clone(&self) -> CreateProfile
fn clone(&self) -> CreateProfile
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !RefUnwindSafe for CreateProfile
impl Send for CreateProfile
impl Sync for CreateProfile
impl Unpin for CreateProfile
impl !UnwindSafe for CreateProfile
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more