Struct aws_sdk_amp::operation::create_alert_manager_definition::builders::CreateAlertManagerDefinitionOutputBuilder
source · #[non_exhaustive]pub struct CreateAlertManagerDefinitionOutputBuilder { /* private fields */ }Expand description
A builder for CreateAlertManagerDefinitionOutput.
Implementations§
source§impl CreateAlertManagerDefinitionOutputBuilder
impl CreateAlertManagerDefinitionOutputBuilder
sourcepub fn status(self, input: AlertManagerDefinitionStatus) -> Self
pub fn status(self, input: AlertManagerDefinitionStatus) -> Self
A structure that displays the current status of the alert manager definition.
This field is required.sourcepub fn set_status(self, input: Option<AlertManagerDefinitionStatus>) -> Self
pub fn set_status(self, input: Option<AlertManagerDefinitionStatus>) -> Self
A structure that displays the current status of the alert manager definition.
sourcepub fn get_status(&self) -> &Option<AlertManagerDefinitionStatus>
pub fn get_status(&self) -> &Option<AlertManagerDefinitionStatus>
A structure that displays the current status of the alert manager definition.
sourcepub fn build(self) -> CreateAlertManagerDefinitionOutput
pub fn build(self) -> CreateAlertManagerDefinitionOutput
Consumes the builder and constructs a CreateAlertManagerDefinitionOutput.
Trait Implementations§
source§impl Clone for CreateAlertManagerDefinitionOutputBuilder
impl Clone for CreateAlertManagerDefinitionOutputBuilder
source§fn clone(&self) -> CreateAlertManagerDefinitionOutputBuilder
fn clone(&self) -> CreateAlertManagerDefinitionOutputBuilder
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 CreateAlertManagerDefinitionOutputBuilder
impl Default for CreateAlertManagerDefinitionOutputBuilder
source§fn default() -> CreateAlertManagerDefinitionOutputBuilder
fn default() -> CreateAlertManagerDefinitionOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateAlertManagerDefinitionOutputBuilder
impl PartialEq for CreateAlertManagerDefinitionOutputBuilder
source§fn eq(&self, other: &CreateAlertManagerDefinitionOutputBuilder) -> bool
fn eq(&self, other: &CreateAlertManagerDefinitionOutputBuilder) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateAlertManagerDefinitionOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateAlertManagerDefinitionOutputBuilder
impl RefUnwindSafe for CreateAlertManagerDefinitionOutputBuilder
impl Send for CreateAlertManagerDefinitionOutputBuilder
impl Sync for CreateAlertManagerDefinitionOutputBuilder
impl Unpin for CreateAlertManagerDefinitionOutputBuilder
impl UnwindSafe for CreateAlertManagerDefinitionOutputBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.