Struct aws_sdk_chime::types::builders::RetentionSettingsBuilder
source · #[non_exhaustive]pub struct RetentionSettingsBuilder { /* private fields */ }
Expand description
A builder for RetentionSettings
.
Implementations§
source§impl RetentionSettingsBuilder
impl RetentionSettingsBuilder
sourcepub fn room_retention_settings(self, input: RoomRetentionSettings) -> Self
pub fn room_retention_settings(self, input: RoomRetentionSettings) -> Self
The chat room retention settings.
sourcepub fn set_room_retention_settings(
self,
input: Option<RoomRetentionSettings>
) -> Self
pub fn set_room_retention_settings( self, input: Option<RoomRetentionSettings> ) -> Self
The chat room retention settings.
sourcepub fn get_room_retention_settings(&self) -> &Option<RoomRetentionSettings>
pub fn get_room_retention_settings(&self) -> &Option<RoomRetentionSettings>
The chat room retention settings.
sourcepub fn conversation_retention_settings(
self,
input: ConversationRetentionSettings
) -> Self
pub fn conversation_retention_settings( self, input: ConversationRetentionSettings ) -> Self
The chat conversation retention settings.
sourcepub fn set_conversation_retention_settings(
self,
input: Option<ConversationRetentionSettings>
) -> Self
pub fn set_conversation_retention_settings( self, input: Option<ConversationRetentionSettings> ) -> Self
The chat conversation retention settings.
sourcepub fn get_conversation_retention_settings(
&self
) -> &Option<ConversationRetentionSettings>
pub fn get_conversation_retention_settings( &self ) -> &Option<ConversationRetentionSettings>
The chat conversation retention settings.
sourcepub fn build(self) -> RetentionSettings
pub fn build(self) -> RetentionSettings
Consumes the builder and constructs a RetentionSettings
.
Trait Implementations§
source§impl Clone for RetentionSettingsBuilder
impl Clone for RetentionSettingsBuilder
source§fn clone(&self) -> RetentionSettingsBuilder
fn clone(&self) -> RetentionSettingsBuilder
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 RetentionSettingsBuilder
impl Debug for RetentionSettingsBuilder
source§impl Default for RetentionSettingsBuilder
impl Default for RetentionSettingsBuilder
source§fn default() -> RetentionSettingsBuilder
fn default() -> RetentionSettingsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for RetentionSettingsBuilder
impl PartialEq for RetentionSettingsBuilder
source§fn eq(&self, other: &RetentionSettingsBuilder) -> bool
fn eq(&self, other: &RetentionSettingsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RetentionSettingsBuilder
Auto Trait Implementations§
impl Freeze for RetentionSettingsBuilder
impl RefUnwindSafe for RetentionSettingsBuilder
impl Send for RetentionSettingsBuilder
impl Sync for RetentionSettingsBuilder
impl Unpin for RetentionSettingsBuilder
impl UnwindSafe for RetentionSettingsBuilder
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.