Struct aws_sdk_emr::model::instance_status::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for InstanceStatus.
Implementations§
source§impl Builder
impl Builder
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.