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 description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
Description of the resource.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
Description of the resource.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
Description of the resource.
If enabled, the resource is hidden from the global address list.
If enabled, the resource is hidden from the global address list.
If enabled, the resource is hidden from the global address list.
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 for DescribeResourceOutputBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for DescribeResourceOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeResourceOutputBuilder
impl RefUnwindSafe for DescribeResourceOutputBuilder
impl Send for DescribeResourceOutputBuilder
impl Sync for DescribeResourceOutputBuilder
impl Unpin for DescribeResourceOutputBuilder
impl UnwindSafe for DescribeResourceOutputBuilder
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
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>
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>
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 more