pub struct Builder { /* private fields */ }Expand description
A builder for InstanceGroupStateChangeReason.
Implementations§
source§impl Builder
impl Builder
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.