Struct aws_sdk_workmail::model::resource::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Resource
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn type(self, input: ResourceType) -> Self
pub fn type(self, input: ResourceType) -> Self
The type of the resource: equipment or room.
sourcepub fn set_type(self, input: Option<ResourceType>) -> Self
pub fn set_type(self, input: Option<ResourceType>) -> Self
The type of the resource: equipment or room.
sourcepub fn state(self, input: EntityState) -> Self
pub fn state(self, input: EntityState) -> Self
The state of the resource, 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 resource, 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 resource 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 resource 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 resource 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 resource was disabled from WorkMail use.