Struct aws_sdk_workmail::operation::describe_resource::builders::DescribeResourceOutputBuilder
source · #[non_exhaustive]pub struct DescribeResourceOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeResourceOutput
.
Implementations§
source§impl DescribeResourceOutputBuilder
impl DescribeResourceOutputBuilder
sourcepub fn resource_id(self, input: impl Into<String>) -> Self
pub fn resource_id(self, input: impl Into<String>) -> Self
The identifier of the described resource.
sourcepub fn set_resource_id(self, input: Option<String>) -> Self
pub fn set_resource_id(self, input: Option<String>) -> Self
The identifier of the described resource.
sourcepub fn get_resource_id(&self) -> &Option<String>
pub fn get_resource_id(&self) -> &Option<String>
The identifier of the described resource.
sourcepub fn type(self, input: ResourceType) -> Self
pub fn type(self, input: ResourceType) -> Self
The type of the described resource.
sourcepub fn set_type(self, input: Option<ResourceType>) -> Self
pub fn set_type(self, input: Option<ResourceType>) -> Self
The type of the described resource.
sourcepub fn get_type(&self) -> &Option<ResourceType>
pub fn get_type(&self) -> &Option<ResourceType>
The type of the described resource.
sourcepub fn booking_options(self, input: BookingOptions) -> Self
pub fn booking_options(self, input: BookingOptions) -> Self
The booking options for the described resource.
sourcepub fn set_booking_options(self, input: Option<BookingOptions>) -> Self
pub fn set_booking_options(self, input: Option<BookingOptions>) -> Self
The booking options for the described resource.
sourcepub fn get_booking_options(&self) -> &Option<BookingOptions>
pub fn get_booking_options(&self) -> &Option<BookingOptions>
The booking options for the described resource.
sourcepub fn state(self, input: EntityState) -> Self
pub fn state(self, input: EntityState) -> Self
The state of the resource: enabled (registered to WorkMail), disabled (deregistered or never registered to WorkMail), 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: enabled (registered to WorkMail), disabled (deregistered or never registered to WorkMail), or deleted.
sourcepub fn get_state(&self) -> &Option<EntityState>
pub fn get_state(&self) -> &Option<EntityState>
The state of the resource: enabled (registered to WorkMail), disabled (deregistered or never registered to WorkMail), or deleted.
sourcepub fn enabled_date(self, input: DateTime) -> Self
pub fn enabled_date(self, input: DateTime) -> Self
The date and time when a resource was enabled for WorkMail, in UNIX epoch time format.
sourcepub fn set_enabled_date(self, input: Option<DateTime>) -> Self
pub fn set_enabled_date(self, input: Option<DateTime>) -> Self
The date and time when a resource was enabled for WorkMail, in UNIX epoch time format.
sourcepub fn get_enabled_date(&self) -> &Option<DateTime>
pub fn get_enabled_date(&self) -> &Option<DateTime>
The date and time when a resource was enabled for WorkMail, in UNIX epoch time format.
sourcepub fn disabled_date(self, input: DateTime) -> Self
pub fn disabled_date(self, input: DateTime) -> Self
The date and time when a resource was disabled from WorkMail, in UNIX epoch time format.
sourcepub fn set_disabled_date(self, input: Option<DateTime>) -> Self
pub fn set_disabled_date(self, input: Option<DateTime>) -> Self
The date and time when a resource was disabled from WorkMail, in UNIX epoch time format.
sourcepub fn get_disabled_date(&self) -> &Option<DateTime>
pub fn get_disabled_date(&self) -> &Option<DateTime>
The date and time when a resource was disabled from WorkMail, in UNIX epoch time format.
sourcepub fn build(self) -> DescribeResourceOutput
pub fn build(self) -> DescribeResourceOutput
Consumes the builder and constructs a DescribeResourceOutput
.
Trait Implementations§
source§impl Clone for DescribeResourceOutputBuilder
impl Clone for DescribeResourceOutputBuilder
source§fn clone(&self) -> DescribeResourceOutputBuilder
fn clone(&self) -> DescribeResourceOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeResourceOutputBuilder
impl Default for DescribeResourceOutputBuilder
source§fn default() -> DescribeResourceOutputBuilder
fn default() -> DescribeResourceOutputBuilder
source§impl PartialEq<DescribeResourceOutputBuilder> for DescribeResourceOutputBuilder
impl PartialEq<DescribeResourceOutputBuilder> for DescribeResourceOutputBuilder
source§fn eq(&self, other: &DescribeResourceOutputBuilder) -> bool
fn eq(&self, other: &DescribeResourceOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.