Struct aws_sdk_chime::types::builders::RoomBuilder
source · #[non_exhaustive]pub struct RoomBuilder { /* private fields */ }
Expand description
A builder for Room
.
Implementations§
source§impl RoomBuilder
impl RoomBuilder
sourcepub fn set_room_id(self, input: Option<String>) -> Self
pub fn set_room_id(self, input: Option<String>) -> Self
The room ID.
sourcepub fn get_room_id(&self) -> &Option<String>
pub fn get_room_id(&self) -> &Option<String>
The room ID.
sourcepub fn account_id(self, input: impl Into<String>) -> Self
pub fn account_id(self, input: impl Into<String>) -> Self
The Amazon Chime account ID.
sourcepub fn set_account_id(self, input: Option<String>) -> Self
pub fn set_account_id(self, input: Option<String>) -> Self
The Amazon Chime account ID.
sourcepub fn get_account_id(&self) -> &Option<String>
pub fn get_account_id(&self) -> &Option<String>
The Amazon Chime account ID.
sourcepub fn created_by(self, input: impl Into<String>) -> Self
pub fn created_by(self, input: impl Into<String>) -> Self
The identifier of the room creator.
sourcepub fn set_created_by(self, input: Option<String>) -> Self
pub fn set_created_by(self, input: Option<String>) -> Self
The identifier of the room creator.
sourcepub fn get_created_by(&self) -> &Option<String>
pub fn get_created_by(&self) -> &Option<String>
The identifier of the room creator.
sourcepub fn created_timestamp(self, input: DateTime) -> Self
pub fn created_timestamp(self, input: DateTime) -> Self
The room creation timestamp, in ISO 8601 format.
sourcepub fn set_created_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_created_timestamp(self, input: Option<DateTime>) -> Self
The room creation timestamp, in ISO 8601 format.
sourcepub fn get_created_timestamp(&self) -> &Option<DateTime>
pub fn get_created_timestamp(&self) -> &Option<DateTime>
The room creation timestamp, in ISO 8601 format.
sourcepub fn updated_timestamp(self, input: DateTime) -> Self
pub fn updated_timestamp(self, input: DateTime) -> Self
The room update timestamp, in ISO 8601 format.
sourcepub fn set_updated_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_updated_timestamp(self, input: Option<DateTime>) -> Self
The room update timestamp, in ISO 8601 format.
sourcepub fn get_updated_timestamp(&self) -> &Option<DateTime>
pub fn get_updated_timestamp(&self) -> &Option<DateTime>
The room update timestamp, in ISO 8601 format.
Trait Implementations§
source§impl Clone for RoomBuilder
impl Clone for RoomBuilder
source§fn clone(&self) -> RoomBuilder
fn clone(&self) -> RoomBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RoomBuilder
impl Debug for RoomBuilder
source§impl Default for RoomBuilder
impl Default for RoomBuilder
source§fn default() -> RoomBuilder
fn default() -> RoomBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for RoomBuilder
impl PartialEq for RoomBuilder
source§fn eq(&self, other: &RoomBuilder) -> bool
fn eq(&self, other: &RoomBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RoomBuilder
Auto Trait Implementations§
impl Freeze for RoomBuilder
impl RefUnwindSafe for RoomBuilder
impl Send for RoomBuilder
impl Sync for RoomBuilder
impl Unpin for RoomBuilder
impl UnwindSafe for RoomBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.