#[non_exhaustive]pub struct AlertManagerDefinitionDescriptionBuilder { /* private fields */ }
Expand description
A builder for AlertManagerDefinitionDescription
.
Implementations§
source§impl AlertManagerDefinitionDescriptionBuilder
impl AlertManagerDefinitionDescriptionBuilder
sourcepub fn status(self, input: AlertManagerDefinitionStatus) -> Self
pub fn status(self, input: AlertManagerDefinitionStatus) -> Self
The status of alert manager definition.
sourcepub fn set_status(self, input: Option<AlertManagerDefinitionStatus>) -> Self
pub fn set_status(self, input: Option<AlertManagerDefinitionStatus>) -> Self
The status of alert manager definition.
sourcepub fn get_status(&self) -> &Option<AlertManagerDefinitionStatus>
pub fn get_status(&self) -> &Option<AlertManagerDefinitionStatus>
The status of alert manager definition.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The time when the alert manager definition was created.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The time when the alert manager definition was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The time when the alert manager definition was created.
sourcepub fn modified_at(self, input: DateTime) -> Self
pub fn modified_at(self, input: DateTime) -> Self
The time when the alert manager definition was modified.
sourcepub fn set_modified_at(self, input: Option<DateTime>) -> Self
pub fn set_modified_at(self, input: Option<DateTime>) -> Self
The time when the alert manager definition was modified.
sourcepub fn get_modified_at(&self) -> &Option<DateTime>
pub fn get_modified_at(&self) -> &Option<DateTime>
The time when the alert manager definition was modified.
sourcepub fn build(self) -> AlertManagerDefinitionDescription
pub fn build(self) -> AlertManagerDefinitionDescription
Consumes the builder and constructs a AlertManagerDefinitionDescription
.
Trait Implementations§
source§impl Clone for AlertManagerDefinitionDescriptionBuilder
impl Clone for AlertManagerDefinitionDescriptionBuilder
source§fn clone(&self) -> AlertManagerDefinitionDescriptionBuilder
fn clone(&self) -> AlertManagerDefinitionDescriptionBuilder
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 Default for AlertManagerDefinitionDescriptionBuilder
impl Default for AlertManagerDefinitionDescriptionBuilder
source§fn default() -> AlertManagerDefinitionDescriptionBuilder
fn default() -> AlertManagerDefinitionDescriptionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<AlertManagerDefinitionDescriptionBuilder> for AlertManagerDefinitionDescriptionBuilder
impl PartialEq<AlertManagerDefinitionDescriptionBuilder> for AlertManagerDefinitionDescriptionBuilder
source§fn eq(&self, other: &AlertManagerDefinitionDescriptionBuilder) -> bool
fn eq(&self, other: &AlertManagerDefinitionDescriptionBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AlertManagerDefinitionDescriptionBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AlertManagerDefinitionDescriptionBuilder
impl Send for AlertManagerDefinitionDescriptionBuilder
impl Sync for AlertManagerDefinitionDescriptionBuilder
impl Unpin for AlertManagerDefinitionDescriptionBuilder
impl UnwindSafe for AlertManagerDefinitionDescriptionBuilder
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