Struct aws_sdk_workmail::model::group::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Group
.
Implementations§
source§impl Builder
impl Builder
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 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 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.