#[non_exhaustive]pub struct InstanceGroupStateChangeReasonBuilder { /* private fields */ }Expand description
A builder for InstanceGroupStateChangeReason.
Implementations§
source§impl InstanceGroupStateChangeReasonBuilder
impl InstanceGroupStateChangeReasonBuilder
sourcepub fn code(self, input: InstanceGroupStateChangeReasonCode) -> Self
pub fn code(self, input: InstanceGroupStateChangeReasonCode) -> Self
The programmable code for the state change reason.
sourcepub fn set_code(self, input: Option<InstanceGroupStateChangeReasonCode>) -> Self
pub fn set_code(self, input: Option<InstanceGroupStateChangeReasonCode>) -> Self
The programmable code for the state change reason.
sourcepub fn get_code(&self) -> &Option<InstanceGroupStateChangeReasonCode>
pub fn get_code(&self) -> &Option<InstanceGroupStateChangeReasonCode>
The programmable code for the state change reason.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
The status change reason description.
sourcepub fn get_message(&self) -> &Option<String>
pub fn get_message(&self) -> &Option<String>
The status change reason description.
sourcepub fn build(self) -> InstanceGroupStateChangeReason
pub fn build(self) -> InstanceGroupStateChangeReason
Consumes the builder and constructs a InstanceGroupStateChangeReason.
Trait Implementations§
source§impl Clone for InstanceGroupStateChangeReasonBuilder
impl Clone for InstanceGroupStateChangeReasonBuilder
source§fn clone(&self) -> InstanceGroupStateChangeReasonBuilder
fn clone(&self) -> InstanceGroupStateChangeReasonBuilder
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 InstanceGroupStateChangeReasonBuilder
impl Default for InstanceGroupStateChangeReasonBuilder
source§fn default() -> InstanceGroupStateChangeReasonBuilder
fn default() -> InstanceGroupStateChangeReasonBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for InstanceGroupStateChangeReasonBuilder
impl PartialEq for InstanceGroupStateChangeReasonBuilder
source§fn eq(&self, other: &InstanceGroupStateChangeReasonBuilder) -> bool
fn eq(&self, other: &InstanceGroupStateChangeReasonBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for InstanceGroupStateChangeReasonBuilder
Auto Trait Implementations§
impl Freeze for InstanceGroupStateChangeReasonBuilder
impl RefUnwindSafe for InstanceGroupStateChangeReasonBuilder
impl Send for InstanceGroupStateChangeReasonBuilder
impl Sync for InstanceGroupStateChangeReasonBuilder
impl Unpin for InstanceGroupStateChangeReasonBuilder
impl UnwindSafe for InstanceGroupStateChangeReasonBuilder
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> 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>
Creates a shared type from an unshared type.