Struct aws_sdk_emr::types::builders::InstanceGroupStatusBuilder
source · #[non_exhaustive]pub struct InstanceGroupStatusBuilder { /* private fields */ }Expand description
A builder for InstanceGroupStatus.
Implementations§
source§impl InstanceGroupStatusBuilder
impl InstanceGroupStatusBuilder
sourcepub fn state(self, input: InstanceGroupState) -> Self
pub fn state(self, input: InstanceGroupState) -> Self
The current state of the instance group.
sourcepub fn set_state(self, input: Option<InstanceGroupState>) -> Self
pub fn set_state(self, input: Option<InstanceGroupState>) -> Self
The current state of the instance group.
sourcepub fn state_change_reason(self, input: InstanceGroupStateChangeReason) -> Self
pub fn state_change_reason(self, input: InstanceGroupStateChangeReason) -> Self
The status change reason details for the instance group.
sourcepub fn set_state_change_reason(
self,
input: Option<InstanceGroupStateChangeReason>
) -> Self
pub fn set_state_change_reason( self, input: Option<InstanceGroupStateChangeReason> ) -> Self
The status change reason details for the instance group.
sourcepub fn timeline(self, input: InstanceGroupTimeline) -> Self
pub fn timeline(self, input: InstanceGroupTimeline) -> Self
The timeline of the instance group status over time.
sourcepub fn set_timeline(self, input: Option<InstanceGroupTimeline>) -> Self
pub fn set_timeline(self, input: Option<InstanceGroupTimeline>) -> Self
The timeline of the instance group status over time.
sourcepub fn build(self) -> InstanceGroupStatus
pub fn build(self) -> InstanceGroupStatus
Consumes the builder and constructs a InstanceGroupStatus.
Trait Implementations§
source§impl Clone for InstanceGroupStatusBuilder
impl Clone for InstanceGroupStatusBuilder
source§fn clone(&self) -> InstanceGroupStatusBuilder
fn clone(&self) -> InstanceGroupStatusBuilder
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 Debug for InstanceGroupStatusBuilder
impl Debug for InstanceGroupStatusBuilder
source§impl Default for InstanceGroupStatusBuilder
impl Default for InstanceGroupStatusBuilder
source§fn default() -> InstanceGroupStatusBuilder
fn default() -> InstanceGroupStatusBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<InstanceGroupStatusBuilder> for InstanceGroupStatusBuilder
impl PartialEq<InstanceGroupStatusBuilder> for InstanceGroupStatusBuilder
source§fn eq(&self, other: &InstanceGroupStatusBuilder) -> bool
fn eq(&self, other: &InstanceGroupStatusBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.