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 get_state(&self) -> &Option<InstanceGroupState>
pub fn get_state(&self) -> &Option<InstanceGroupState>
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 get_state_change_reason(&self) -> &Option<InstanceGroupStateChangeReason>
pub fn get_state_change_reason(&self) -> &Option<InstanceGroupStateChangeReason>
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 get_timeline(&self) -> &Option<InstanceGroupTimeline>
pub fn get_timeline(&self) -> &Option<InstanceGroupTimeline>
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 for InstanceGroupStatusBuilder
impl PartialEq 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 ==.impl StructuralPartialEq for InstanceGroupStatusBuilder
Auto Trait Implementations§
impl Freeze for InstanceGroupStatusBuilder
impl RefUnwindSafe for InstanceGroupStatusBuilder
impl Send for InstanceGroupStatusBuilder
impl Sync for InstanceGroupStatusBuilder
impl Unpin for InstanceGroupStatusBuilder
impl UnwindSafe for InstanceGroupStatusBuilder
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.