#[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 set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
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<InstanceGroupStateChangeReasonBuilder> for InstanceGroupStateChangeReasonBuilder
impl PartialEq<InstanceGroupStateChangeReasonBuilder> 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 ==.