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