Struct aws_sdk_workmail::types::builders::GroupBuilder
source · #[non_exhaustive]pub struct GroupBuilder { /* private fields */ }
Expand description
A builder for Group
.
Implementations§
source§impl GroupBuilder
impl GroupBuilder
sourcepub fn state(self, input: EntityState) -> Self
pub fn state(self, input: EntityState) -> Self
The state of the group, which can be ENABLED, DISABLED, or DELETED.
sourcepub fn set_state(self, input: Option<EntityState>) -> Self
pub fn set_state(self, input: Option<EntityState>) -> Self
The state of the group, which can be ENABLED, DISABLED, or DELETED.
sourcepub fn get_state(&self) -> &Option<EntityState>
pub fn get_state(&self) -> &Option<EntityState>
The state of the group, which can be ENABLED, DISABLED, or DELETED.
sourcepub fn enabled_date(self, input: DateTime) -> Self
pub fn enabled_date(self, input: DateTime) -> Self
The date indicating when the group was enabled for WorkMail use.
sourcepub fn set_enabled_date(self, input: Option<DateTime>) -> Self
pub fn set_enabled_date(self, input: Option<DateTime>) -> Self
The date indicating when the group was enabled for WorkMail use.
sourcepub fn get_enabled_date(&self) -> &Option<DateTime>
pub fn get_enabled_date(&self) -> &Option<DateTime>
The date indicating when the group was enabled for WorkMail use.
sourcepub fn disabled_date(self, input: DateTime) -> Self
pub fn disabled_date(self, input: DateTime) -> Self
The date indicating when the group was disabled from WorkMail use.
sourcepub fn set_disabled_date(self, input: Option<DateTime>) -> Self
pub fn set_disabled_date(self, input: Option<DateTime>) -> Self
The date indicating when the group was disabled from WorkMail use.
sourcepub fn get_disabled_date(&self) -> &Option<DateTime>
pub fn get_disabled_date(&self) -> &Option<DateTime>
The date indicating when the group was disabled from WorkMail use.
Trait Implementations§
source§impl Clone for GroupBuilder
impl Clone for GroupBuilder
source§fn clone(&self) -> GroupBuilder
fn clone(&self) -> GroupBuilder
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 GroupBuilder
impl Debug for GroupBuilder
source§impl Default for GroupBuilder
impl Default for GroupBuilder
source§fn default() -> GroupBuilder
fn default() -> GroupBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GroupBuilder
impl PartialEq for GroupBuilder
source§fn eq(&self, other: &GroupBuilder) -> bool
fn eq(&self, other: &GroupBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GroupBuilder
Auto Trait Implementations§
impl Freeze for GroupBuilder
impl RefUnwindSafe for GroupBuilder
impl Send for GroupBuilder
impl Sync for GroupBuilder
impl Unpin for GroupBuilder
impl UnwindSafe for GroupBuilder
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.