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 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 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 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<InstanceStatusBuilder> for InstanceStatusBuilder
impl PartialEq<InstanceStatusBuilder> 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 ==.